2019-01-13 06:10:44 +00:00
|
|
|
;; Zero Page
|
|
|
|
|
|
|
|
;; LZ4 addresses
|
|
|
|
|
|
|
|
LZ4_SRC = $00
|
|
|
|
LZ4_DST = $02
|
|
|
|
LZ4_END = $04
|
2019-01-28 02:23:22 +00:00
|
|
|
WHICH_LOAD = $05
|
2019-01-13 06:10:44 +00:00
|
|
|
COUNT = $06
|
|
|
|
DELTA = $08
|
|
|
|
|
|
|
|
;; Zero page monitor routines addresses
|
|
|
|
|
|
|
|
WNDLFT = $20
|
|
|
|
WNDWDTH = $21
|
|
|
|
WNDTOP = $22
|
|
|
|
WNDBTM = $23
|
|
|
|
CH = $24
|
|
|
|
CV = $25
|
|
|
|
GBASL = $26
|
|
|
|
GBASH = $27
|
|
|
|
BASL = $28
|
|
|
|
BASH = $29
|
|
|
|
H2 = $2C
|
|
|
|
V2 = $2D
|
|
|
|
MASK = $2E
|
2019-02-06 04:46:31 +00:00
|
|
|
COLOR_MASK = $2F
|
2019-01-13 06:10:44 +00:00
|
|
|
COLOR = $30
|
2019-01-18 05:18:06 +00:00
|
|
|
|
2019-02-06 04:46:31 +00:00
|
|
|
|
2019-01-18 05:18:06 +00:00
|
|
|
SEEDL = $4e
|
|
|
|
SEEDH = $4f
|
|
|
|
|
2019-01-13 06:10:44 +00:00
|
|
|
;INVFLG = $32
|
|
|
|
|
|
|
|
; dos33 zero page = 26-2f, 35-38, 3e 3f 40-4d
|
|
|
|
; overlap applesoft 67-6a,6f,70,af,b0,ca-cd,d8
|
|
|
|
|
|
|
|
|
|
|
|
; DOS33: Confirmed kills $68
|
|
|
|
|
|
|
|
RWTSL = $60
|
|
|
|
RWTSH = $61
|
|
|
|
DOSBUFL = $62
|
|
|
|
DOSBUFH = $63
|
|
|
|
FILEML = $64
|
|
|
|
FILEMH = $65
|
|
|
|
|
|
|
|
|
2019-01-17 04:16:11 +00:00
|
|
|
FRAMEL = $60
|
2019-01-13 06:10:44 +00:00
|
|
|
FRAMEH = $61
|
|
|
|
WAITING = $62
|
|
|
|
LETTERL = $63
|
|
|
|
LETTERH = $64
|
|
|
|
LETTERX = $65
|
|
|
|
LETTERY = $66
|
|
|
|
LETTERD = $67
|
|
|
|
LETTER = $68
|
|
|
|
BLARGH = $69
|
|
|
|
|
|
|
|
;FACTOR_I = $66
|
|
|
|
;FACTOR_F = $67
|
|
|
|
;DX_I = $68
|
|
|
|
;DX_F = $69
|
|
|
|
;SPACEX_I = $6A
|
|
|
|
;SPACEX_F = $6B
|
|
|
|
;CX_I = $6C
|
|
|
|
;CX_F = $6D
|
|
|
|
;DY_I = $6E
|
|
|
|
;DY_F = $6F
|
|
|
|
|
|
|
|
|
2019-03-03 19:05:00 +00:00
|
|
|
INTRO_REPEAT = $7E
|
2019-01-13 06:10:44 +00:00
|
|
|
ZPOS = $78
|
|
|
|
|
|
|
|
REGISTER_DUMP = $70
|
|
|
|
A_FINE_TONE = $70
|
|
|
|
A_COARSE_TONE = $71
|
|
|
|
B_FINE_TONE = $72
|
|
|
|
B_COARSE_TONE = $73
|
|
|
|
C_FINE_TONE = $74
|
|
|
|
C_COARSE_TONE = $75
|
|
|
|
NOISE = $76
|
|
|
|
ENABLE = $77
|
|
|
|
A_VOLUME = $78
|
|
|
|
B_VOLUME = $79
|
|
|
|
C_VOLUME = $7A
|
|
|
|
ENVELOPE_FINE = $7B
|
|
|
|
ENVELOPE_COARSE = $7C
|
|
|
|
ENVELOPE_SHAPE = $7D
|
|
|
|
|
|
|
|
|
|
|
|
COPY_OFFSET = $7E
|
|
|
|
DECODER_STATE = $7F
|
|
|
|
|
|
|
|
|
|
|
|
REGISTER_DUMP2 = $80
|
|
|
|
A_FINE_TONE2 = $80
|
|
|
|
A_COARSE_TONE2 = $81
|
|
|
|
B_FINE_TONE2 = $82
|
|
|
|
B_COARSE_TONE2 = $83
|
|
|
|
C_FINE_TONE2 = $84
|
|
|
|
C_COARSE_TONE2 = $85
|
|
|
|
NOISE2 = $86
|
|
|
|
ENABLE2 = $87
|
|
|
|
A_VOLUME2 = $88
|
|
|
|
B_VOLUME2 = $89
|
|
|
|
C_VOLUME2 = $8A
|
|
|
|
ENVELOPE_FINE2 = $8B
|
|
|
|
ENVELOPE_COARS2 = $8C
|
|
|
|
ENVELOPE_SHAPE2 = $8D
|
|
|
|
LYRICSL = $8E
|
|
|
|
LYRICSH = $8F
|
|
|
|
|
|
|
|
FRAME_COUNT = $90
|
|
|
|
MB_VALUE = $91
|
|
|
|
MB_ADDRL = $91
|
|
|
|
MB_ADDRH = $92
|
|
|
|
DONE_PLAYING = $93
|
|
|
|
MB_CHUNK_OFFSET = $94
|
|
|
|
MB_FRAME = $94
|
|
|
|
MB_PATTERN = $95
|
|
|
|
CHUNKSIZE = $95
|
|
|
|
LZ4_DONE = $96
|
|
|
|
DECODE_ERROR = $97
|
|
|
|
COPY_TIME = $98
|
|
|
|
DECOMPRESS_TIME = $99
|
|
|
|
TIME_TAKEN = $9A
|
|
|
|
LYRICS_ACTIVE = $9B
|
|
|
|
;FORTYCOL = $9C
|
|
|
|
CURSOR = $9D
|
|
|
|
|
|
|
|
; More zero-page addresses
|
|
|
|
; we try not to conflict with anything DOS, MONITOR or BASIC related
|
|
|
|
|
2019-01-19 03:27:01 +00:00
|
|
|
LEFT_LIMIT = $E0
|
|
|
|
RIGHT_LIMIT = $E1
|
2019-01-18 21:04:52 +00:00
|
|
|
WHICH_SLUG = $E2
|
2019-01-20 06:02:41 +00:00
|
|
|
WHICH_CAVE = $E3
|
2019-01-25 02:41:01 +00:00
|
|
|
BEAST_OUT = $E4
|
2019-01-17 21:58:19 +00:00
|
|
|
GAME_OVER = $E5
|
2019-01-18 05:18:06 +00:00
|
|
|
EQUAKE_PROGRESS = $E6
|
|
|
|
EARTH_OFFSET = $E7
|
2019-02-17 18:37:24 +00:00
|
|
|
|
|
|
|
DNA_OUT = $E5
|
|
|
|
DNA_PROGRESS = $E6
|
|
|
|
DNA_COUNT = $E7
|
2019-02-17 20:44:50 +00:00
|
|
|
CURSOR_COUNT = $E7
|
2019-02-18 18:04:02 +00:00
|
|
|
PARTICLE_COUNT = $E7
|
2019-02-18 19:31:26 +00:00
|
|
|
MESSAGE_CURRENT = $E5
|
|
|
|
TIME_COUNT = $E6
|
|
|
|
MESSAGE_COUNT = $E7
|
2019-02-17 18:37:24 +00:00
|
|
|
|
2019-01-18 05:27:32 +00:00
|
|
|
BOULDER_X = $E8
|
|
|
|
BOULDER_Y = $E9
|
2019-01-18 16:33:23 +00:00
|
|
|
CROUCHING = $EA
|
|
|
|
KICKING = $EB
|
2019-01-18 18:51:09 +00:00
|
|
|
CUTFRAME = $EC
|
2019-01-13 06:10:44 +00:00
|
|
|
DISP_PAGE = $ED
|
|
|
|
DRAW_PAGE = $EE
|
2019-01-25 02:41:01 +00:00
|
|
|
OFFSET = $EF
|
2019-01-13 06:10:44 +00:00
|
|
|
|
2019-02-03 17:06:45 +00:00
|
|
|
INTRO_LOOPL = $F0
|
|
|
|
INTRO_LOOPH = $F1
|
|
|
|
INTRO_LOOPER = $F7
|
2019-02-15 06:10:17 +00:00
|
|
|
STATIC_LOOPER = $F8
|
2019-02-03 17:06:45 +00:00
|
|
|
|
2019-01-14 17:44:26 +00:00
|
|
|
PHYSICIST_X = $F0
|
|
|
|
PHYSICIST_Y = $F1
|
2019-01-13 06:10:44 +00:00
|
|
|
SPRITETEMP = $F2
|
|
|
|
XPOS = $F3
|
|
|
|
YPOS = $F4
|
2019-01-14 05:34:45 +00:00
|
|
|
DIRECTION = $F5
|
2019-01-14 17:44:26 +00:00
|
|
|
GAIT = $F6
|
2019-01-17 05:22:51 +00:00
|
|
|
TENTACLE_X = $F7
|
|
|
|
TENTACLE_PROGRESS = $F8
|
2019-01-25 02:41:01 +00:00
|
|
|
SLUGDEATH_PROGRESS = $F8
|
2019-02-06 04:46:31 +00:00
|
|
|
ELEVATOR_CYCLE = $F8
|
2019-01-18 04:04:17 +00:00
|
|
|
TENTACLE_GRAB = $F9
|
2019-01-18 17:13:34 +00:00
|
|
|
SLUGDEATH = $F9
|
2019-02-06 04:46:31 +00:00
|
|
|
ELEVATOR_COUNT = $F9
|
2019-01-13 06:10:44 +00:00
|
|
|
TEMP = $FA
|
|
|
|
TEMPY = $FB
|
|
|
|
INL = $FC
|
|
|
|
INH = $FD
|
|
|
|
OUTL = $FE
|
|
|
|
OUTH = $FF
|
|
|
|
|