132 lines
2.0 KiB
PHP
Raw Normal View History

;; Zero Page
;; LZSA addresses
NIBCOUNT = $00
WHICH_LOAD = $01
;; Zero page monitor routines addresses
2022-03-14 12:16:40 -04:00
HGR_BITS= $1C
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-15 21:56:47 -04:00
SEEDLO = $4e
SEEDHI = $4f
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 00:35:13 -05:00
; ym player
2022-03-05 23:25:44 -05:00
CURRENT_FRAME_L = $70
CURRENT_FRAME_H = $71
BASE_FRAME_L = $72
BASE_FRAME_H = $73
CURRENT_CHUNK = $74
2022-03-08 00:49:10 -05:00
TIME_MINUTES = $75
TIME_SECONDS = $76
CURSOR_X = $77
CURSOR_Y = $78
DISP_PAGE = $79
DRAW_PAGE = $7A
2022-03-09 00:35:13 -05:00
LEVEL_OVER = $7B
2022-03-15 00:50:35 -04:00
LEVEL_FAIL = 1
LEVEL_WIN = 2
2022-03-09 01:05:00 -05:00
DOOR_OPEN = $7C
CHUNK_NEXT_LOAD = $7D
CHUNK_NEXT_PLAY = $7E
LOAD_NEXT_CHUNK = $7F
2022-03-09 15:15:38 -05:00
OVER_LEMMING = $80
2022-03-09 23:56:41 -05:00
TIMER_COUNT = $81
2022-03-10 00:45:51 -05:00
UPDATE_POINTER = $82
2022-03-21 23:00:30 -04:00
NEXT_LEMMING_TO_RELEASE = $83
2022-03-10 23:02:08 -05:00
SAVED_Y1 = $84
SAVED_Y2 = $85
2022-03-10 23:43:10 -05:00
LEMMINGS_OUT = $86
2022-03-14 22:57:33 -04:00
BUTTON_LOCATION = $87
2022-03-15 15:16:37 -04:00
WHICH_LEVEL = $88
2022-03-21 23:00:30 -04:00
LEMMINGS_TO_RELEASE = $89
2022-03-22 00:05:49 -04:00
CURRENT_LEMMING = $8A
2022-03-05 23:25:44 -05:00
APPLEII_MODEL = $8B
PERCENT_RESCUED_L = $8C
PERCENT_RESCUED_H = $8D
PERCENT_NEEDED = $8E
PERCENT_ADD = $8F
2022-03-17 21:33:58 -04:00
DOOR_X = $90 ; location of door
DOOR_Y = $91
INIT_X = $92 ; initial lemming position
INIT_Y = $93
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-17 21:33:58 -04: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 12:16:40 -04:00
HGR_COLOR = $E4
2022-03-08 00:49:10 -05:00
HGR_PAGE = $E6
; 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