File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ org 32768
2+ __START_PROGRAM:
3+ di
4+ push ix
5+ push iy
6+ exx
7+ push hl
8+ exx
9+ ld hl , 0
10+ add hl , sp
11+ ld (__CALL_BACK__) , hl
12+ ei
13+ jp __MAIN_PROGRAM__
14+ __CALL_BACK__:
15+ DEFW 0
16+ ZXBASIC_USER_DATA:
17+ ; Defines USER DATA Length in bytes
18+ ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_END - ZXBASIC_USER_DATA
19+ .__LABEL__.ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_LEN
20+ .__LABEL__.ZXBASIC_USER_DATA EQU ZXBASIC_USER_DATA
21+ ZXBASIC_USER_DATA_END:
22+ __MAIN_PROGRAM__:
23+ xor a
24+ ld (__LABEL__a) , a
25+ __LABEL__a:
26+ ld hl , 0
27+ ld b , h
28+ ld c , l
29+ __END_PROGRAM:
30+ di
31+ ld hl , (__CALL_BACK__)
32+ ld sp , hl
33+ exx
34+ pop hl
35+ exx
36+ pop iy
37+ pop ix
38+ ei
39+ ret
40+ ;; --- end of user code ---
41+ END
Original file line number Diff line number Diff line change 1+ #pragma explicit = true
2+
3+ POKE @a, 0
4+
5+ a:
6+
Original file line number Diff line number Diff line change 1+ #pragma explicit = true
2+
3+ POKE @a, 0
4+
5+
You can’t perform that action at this time.
0 commit comments