EGFX · FUNCTION 17ALPHA · USE AT YOUR OWN RISK
RESOURCE_UPLOAD
Upload sprite data.
Uploads sprite and mask bytes sequentially at a supplied offset.
Parameters
| Name | Order | Description |
|---|---|---|
OFFSET | 8–9 | Sequential resource offset. |
COUNT | 10 | Bytes in this block. |
DATA | 16–63 | Sprite/mask bytes. |
BASIC example
MODE 1:HIMEM=&2400
PROCeginit
PROCegbegin
PROCegcall(17)
PROCegpresent
ENDAssembly example
JSR init_egfx
JSR begin_frame
LDA #17 : JSR eg_call
JSR present_frame
RTS