← EGFX function index

EGFX · FUNCTION 17ALPHA · USE AT YOUR OWN RISK

RESOURCE_UPLOAD

Upload sprite data.

Uploads sprite and mask bytes sequentially at a supplied offset.

Parameters

NameOrderDescription
OFFSET8–9Sequential resource offset.
COUNT10Bytes in this block.
DATA16–63Sprite/mask bytes.

BASIC example

MODE 1:HIMEM=&2400
PROCeginit
PROCegbegin
PROCegcall(17)
PROCegpresent
END

Assembly example

        JSR init_egfx
        JSR begin_frame
        LDA #17 : JSR eg_call
        JSR present_frame
        RTS

← Function index