2022-03-04 21:53:49 +00:00
|
|
|
;; Zero Page
|
|
|
|
|
|
|
|
;; LZSA addresses
|
|
|
|
NIBCOUNT = $00
|
2022-03-15 19:33:50 +00:00
|
|
|
WHICH_LOAD = $01
|
2022-03-04 21:53:49 +00:00
|
|
|
|
|
|
|
;; Zero page monitor routines addresses
|
|
|
|
|
2022-03-14 16:16:40 +00:00
|
|
|
HGR_BITS= $1C
|
2022-03-04 21:53:49 +00:00
|
|
|
WNDLFT = $20
|
|
|
|
WNDWDTH = $21
|
|
|
|
WNDTOP = $22
|
|
|
|
WNDBTM = $23
|
|
|
|
CH = $24
|
|
|
|
CV = $25
|
|
|
|
GBASL = $26
|
|
|
|
GBASH = $27
|
|
|
|
BASL = $28
|
|
|
|
BASH = $29
|
|
|
|
H2 = $2C
|
|
|
|
X_LEFT = $2C
|
|
|
|
V2 = $2D
|
|
|
|
MASK = $2E
|
|
|
|
COLOR_MASK = $2F
|
|
|
|
COLOR = $30
|
|
|
|
|
2022-03-16 01:56:47 +00:00
|
|
|
SEEDLO = $4e
|
|
|
|
SEEDHI = $4f
|
2022-03-04 21:53:49 +00:00
|
|
|
XMAX = $50
|
|
|
|
|
|
|
|
|
|
|
|
FRAMEL = $60
|
|
|
|
FRAMEH = $61
|
|
|
|
;CURSOR_X = $62
|
|
|
|
;CURSOR_Y = $63
|
|
|
|
XPOS = $64
|
|
|
|
YPOS = $65
|
|
|
|
LOCATION_STRUCT_L = $66
|
|
|
|
LOCATION_STRUCT_H = $67
|
|
|
|
IN_SPECIAL = $68
|
|
|
|
CURSOR_VISIBLE = $69
|
|
|
|
IN_LEFT = $6A
|
|
|
|
IN_RIGHT = $6B
|
|
|
|
BTC_L = $6C
|
|
|
|
BTC_H = $6D
|
|
|
|
|
2022-03-09 05:35:13 +00:00
|
|
|
; ym player
|
2022-03-06 04:25:44 +00:00
|
|
|
CURRENT_FRAME_L = $70
|
|
|
|
CURRENT_FRAME_H = $71
|
|
|
|
BASE_FRAME_L = $72
|
|
|
|
BASE_FRAME_H = $73
|
2022-03-06 05:15:31 +00:00
|
|
|
CURRENT_CHUNK = $74
|
2022-03-08 05:49:10 +00:00
|
|
|
TIME_MINUTES = $75
|
|
|
|
TIME_SECONDS = $76
|
|
|
|
CURSOR_X = $77
|
|
|
|
CURSOR_Y = $78
|
|
|
|
DISP_PAGE = $79
|
|
|
|
DRAW_PAGE = $7A
|
2022-03-09 05:35:13 +00:00
|
|
|
LEVEL_OVER = $7B
|
2022-03-15 04:50:35 +00:00
|
|
|
LEVEL_FAIL = 1
|
|
|
|
LEVEL_WIN = 2
|
2022-03-09 06:05:00 +00:00
|
|
|
DOOR_OPEN = $7C
|
2022-03-09 17:06:34 +00:00
|
|
|
CHUNK_NEXT_LOAD = $7D
|
|
|
|
CHUNK_NEXT_PLAY = $7E
|
|
|
|
LOAD_NEXT_CHUNK = $7F
|
2022-03-09 20:15:38 +00:00
|
|
|
OVER_LEMMING = $80
|
2022-03-10 04:56:41 +00:00
|
|
|
TIMER_COUNT = $81
|
2022-03-10 05:45:51 +00:00
|
|
|
UPDATE_POINTER = $82
|
2022-03-22 03:00:30 +00:00
|
|
|
NEXT_LEMMING_TO_RELEASE = $83
|
2022-03-11 04:02:08 +00:00
|
|
|
SAVED_Y1 = $84
|
|
|
|
SAVED_Y2 = $85
|
2022-03-11 04:43:10 +00:00
|
|
|
LEMMINGS_OUT = $86
|
2022-03-15 02:57:33 +00:00
|
|
|
BUTTON_LOCATION = $87
|
2022-03-15 19:16:37 +00:00
|
|
|
WHICH_LEVEL = $88
|
2022-03-22 03:00:30 +00:00
|
|
|
LEMMINGS_TO_RELEASE = $89
|
2022-03-22 04:05:49 +00:00
|
|
|
CURRENT_LEMMING = $8A
|
2022-03-06 04:25:44 +00:00
|
|
|
APPLEII_MODEL = $8B
|
2022-03-22 21:13:38 +00:00
|
|
|
PERCENT_RESCUED_L = $8C
|
|
|
|
PERCENT_RESCUED_H = $8D
|
|
|
|
PERCENT_NEEDED = $8E
|
2022-03-22 22:50:06 +00:00
|
|
|
PERCENT_ADD = $8F
|
2022-03-06 05:15:31 +00:00
|
|
|
|
2022-03-18 01:33:58 +00:00
|
|
|
DOOR_X = $90 ; location of door
|
|
|
|
DOOR_Y = $91
|
|
|
|
INIT_X = $92 ; initial lemming position
|
|
|
|
INIT_Y = $93
|
|
|
|
|
2022-04-03 03:28:45 +00:00
|
|
|
CLIMBER_COUNT = $94
|
|
|
|
FLOATER_COUNT = $95
|
|
|
|
EXPLODER_COUNT = $96
|
|
|
|
STOPPER_COUNT = $97
|
|
|
|
BUILDER_COUNT = $98
|
|
|
|
BASHER_COUNT = $99
|
|
|
|
MINER_COUNT = $9A
|
|
|
|
DIGGER_COUNT = $9B
|
2022-03-18 01:33:58 +00:00
|
|
|
|
2022-03-04 21:53:49 +00:00
|
|
|
|
|
|
|
; done game puzzle state
|
|
|
|
|
|
|
|
|
|
|
|
WHICH_SLOT = $DA
|
|
|
|
JS_BUTTON_STATE = $DB
|
|
|
|
CURRENT_DISK = $DC
|
|
|
|
JOYSTICK_ENABLED= $DD
|
|
|
|
SOUND_STATUS = $DE
|
|
|
|
SOUND_DISABLED = $80
|
|
|
|
SOUND_IN_LC = $01 ; $01 sound effects in language card
|
|
|
|
SOUND_MOCKINGBOARD = $02 ; mockingboard detected
|
|
|
|
|
2022-03-14 16:16:40 +00:00
|
|
|
HGR_COLOR = $E4
|
2022-03-08 05:49:10 +00:00
|
|
|
HGR_PAGE = $E6
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-04 21:53:49 +00:00
|
|
|
|
|
|
|
; rest of pt3_player
|
|
|
|
LOOP = $F4
|
|
|
|
MB_VALUE = $F5
|
|
|
|
MB_ADDR_L = $F6
|
|
|
|
MB_ADDR_H = $F7
|
|
|
|
DONE_PLAYING = $F8
|
|
|
|
DONE_SONG = $F9
|
|
|
|
|
|
|
|
|
|
|
|
TEMP = $FA
|
|
|
|
TEMPY = $FB
|
|
|
|
INL = $FC
|
|
|
|
INH = $FD
|
|
|
|
OUTL = $FE
|
|
|
|
OUTH = $FF
|
|
|
|
|