EGFX · FUNCTION 1ALPHA · USE AT YOUR OWN RISK
BEGIN
Begin a frame.
Selects the drawing page and clears all 20 KB of it. The next drawing calls go to this page. On a Master, if you only redraw what moved, use the dirty begin (function 38) after the first two frames to skip the clear.
Parameters
| Name | Order | Description |
|---|---|---|
- | - | No parameters. |
BASIC example
MODE 1:HIMEM=&2400
PROCeginit
PROCegbegin
PROCegbegin
PROCegpresent
ENDAssembly example
JSR init_egfx
JSR begin_frame
LDA #1 : JSR eg_call
JSR present_frame
RTS