Skip to content

title: "vbmDrawTileO" description: TRSE built-in method (from IDE help)


vbmDrawTileO

Systems: VIC20
Parameters: a


vbmDrawTileO( [address] );

  • [address] - address of a tile to draw to the bitmap.

Description

Draws an 8x8 tile to the current location pointed to by screenmemory. OR mode will merge the pixels of the tile with the pixels on the bitmap.

There are four ways to draw a tile:

  • vbmDrawTile - draws a tile, replacing the pixels at the current position on the bitmap
  • vbmDrawTileO - draws a tile and merges it over the current pixels on the bitmap
  • vbmDrawTileE - draws a tile and merges it using the EOR operation with the bitmap
  • vbmClearTile - clears, or 'cuts out' the tile shape from the pixels on the bitmap

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 vbmDrawTileO( gfx ); // draws the tile, merge with any pixels underneath it

See also

  • vbmDrawTileMap