title: "vbmSetColumn" description: TRSE built-in method (from IDE help)
vbmSetColumn
Systems: VIC20
Parameters: b
vbmSetColumn( [byte] );
- [byte] - Column number from 0 to 19.
Description
Sets the inbuilt screenmemory sero page pointer to the top of the given column number. Useful for getting to a location on the bitmap quickly and needed for commands such as tiles.
Example
gfx : array[] of byte = (
%11111111, %10000001, %10000001, %10011001,
%10011001, %10000001, %10000001, %11111111
);
...
vbmSetColumn( 3 ); // set the fourth column (remember, starts at 0)
screenmemory := screenmemory + 20; // move 20 pixels down
vbmDrawTile( gfx );
See also
- vbmNextColumn
- vbmSetPosition