Sprite Attribute Table routines.

Summary
Sprite Attribute Table routines.
Macros
vdc_sat_setSet current SAT entry in VRAM.
Functions
vdc_sat_addrSet the VRAM address of the sprite attribute table.
vdc_sat_entryComputes and set VRAM write address to SAT entry..

Macros

vdc_sat_set

Set current SAT entry in VRAM.

Assembly call

vdc_sat_set x0, y0, #$3100, #0, #(VDC_SPRITE_WIDTH_32 | VDC_SPRITE_HEIGHT_16)

Parameters

xX position
yY position
addrPattern address
palPalette index
flagSprite flag + size

Functions

vdc_sat_addr

Set the VRAM address of the sprite attribute table.

Parameters

_sisprite table VRAM address.

vdc_sat_entry

Computes and set VRAM write address to SAT entry..

Parameters

Xsprite number

Returns

_sisprite VRAM address
Close