Radio Shack TRS-80 Operation Manual page 26

Hide thumbs Also See for TRS-80:
Table of Contents

Advertisement

Computer Graphics
Operation Manual
- - - - - - - - - - T R S - B O
® - - - - - - - - - -
GET
Reads the Contents of Rectangular Pixel Area into Array
Important Note: BASICG recognizes two syntaxes of the
command GET -- the syntax described in this manual and the
syntax described in the Model III Operation and BASIC
Language Reference Manual. BASIC recognizes only the GET
syntax described in the Model III Operation and BASIC
Language Reference Manual.
GET reads the graphic contents of a rectangular pixel area
into a storage array for future use by PUT (see PUT).
A rectangular pixel area is a group of pixels which are
defined by the diagonal line coordinates in the GET
statement.
The first two bytes of array name are set to the
horizontal (X-axis) number of pixels in the pixel area; the
second two bytes are set to the vertical (Y-axis) number of
pixels in the pixel area. The remainder of array name
represents the status of each pixel, either ON or OFF, in
the pixel area. The data is stored in a row-by-row format.
The data is stored 8 pixels per byte and each row starts on
a byte boundary.
Array Limits
When the array is created, BASICG reserves space in memory
for each element of the array. The size of the array is
limited by the amount of memory available for use by your
----------lIadlOlIIaeIl----------
-24-

Advertisement

Table of Contents
loading

Table of Contents