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+ ZXBASIC_USER_DATA:
15+ ; Defines USER DATA Length in bytes
16+ ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_END - ZXBASIC_USER_DATA
17+ .__LABEL__.ZXBASIC_USER_DATA_LEN EQU ZXBASIC_USER_DATA_LEN
18+ .__LABEL__.ZXBASIC_USER_DATA EQU ZXBASIC_USER_DATA
19+ _kill:
20+ DEFB 00
21+ ZXBASIC_USER_DATA_END:
22+ __MAIN_PROGRAM__:
23+ ld hl , 0
24+ ld b , h
25+ ld c , l
26+ __END_PROGRAM:
27+ di
28+ ld hl , (__CALL_BACK__)
29+ ld sp , hl
30+ exx
31+ pop hl
32+ pop iy
33+ pop ix
34+ exx
35+ ei
36+ ret
37+ __CALL_BACK__:
38+ DEFW 0
39+ _bulletcuchillo:
40+ ld a , (_kill)
41+ or a
42+ jp nz , _bulletcuchillo__leave
43+ __LABEL__endbulletcuchillo:
44+ _bulletcuchillo__leave:
45+ ret
46+ END
Original file line number Diff line number Diff line change 1+ REM This was causing an infinite loop.
2+
3+ DIM kill as Ubyte
4+
5+ sub fastcall bulletcuchillo ()
6+ if kill then
7+ return
8+ end if
9+ endbulletcuchillo:
10+ end sub
11+
12+ DIM dummy as Uinteger
13+ dummy = @bulletcuchillo
14+
You can’t perform that action at this time.
0 commit comments