DrawTile
Previous  Next

Description: Draws a tile to the background plane at the specified x and y coordinates. One location unit is equal to an 8x8 pixel cell. Location 0,0 is the top left corner of the visible display and 39,0 is the top right corner of the visible display in the default position.

     Syntax:

DrawTile <Address>, <X>, <Y>

Part
Description
<Address>
Required. This is the location in VRAM where the tile resides.
<X>
Required. The x-coordinate to draw the tile.
<Y>
Required. The y-coordinate to draw the tile.

Example:

        DrawTile 1, 0, 0