← EGFX function index

EGFX · FUNCTION 12ALPHA · USE AT YOUR OWN RISK

WORLD_UPLOAD

Upload world data.

Uploads sequential scenery and sprite bytes. Supply offset and count in the request block.

Parameters

NameOrderDescription
OFFSET8–9Sequential destination offset.
COUNT10Bytes in this block.
DATA16–63Inline payload.

BASIC example

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

Assembly example

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

← Function index