dos33fsprogs/games/lemm/zp.inc

119 lines
1.7 KiB
PHP
Raw Normal View History

;; Zero Page
;; LZSA addresses
NIBCOUNT = $00
WHICH_LOAD = $01
;; Zero page monitor routines addresses
2022-03-14 16:16:40 +00: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-16 01:56:47 +00: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 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
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
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-10 06:10:42 +00:00
LEMMINGS_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-06 04:25:44 +00:00
APPLEII_MODEL = $8B
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
; 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
; 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