;; Zero Page ;; LZ4 addresses LZ4_SRC = $00 LZ4_DST = $02 LZ4_END = $04 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 COLOR = $30 SEEDL = $4e SEEDH = $4f ;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 FRAMEL = $60 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 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 LEFT_LIMIT = $E0 RIGHT_LIMIT = $E1 WHICH_SLUG = $E2 WHICH_CAVE = $E3 YY = $E4 HGR_COLOR = $E4 GAME_OVER = $E5 EQUAKE_PROGRESS = $E6 EARTH_OFFSET = $E7 BOULDER_X = $E8 BOULDER_Y = $E9 CROUCHING = $EA KICKING = $EB CUTFRAME = $EC ;SHIPY = $E4 ;YADD = $E5 ;LOOP = $E6 ;MEMPTRL = $E7 ;MEMPTRH = $E8 ;NAMEL = $E9 ;NAMEH = $EA ;NAMEX = $EB ;CHAR = $EC STATE = $ED DISP_PAGE = $ED DRAW_PAGE = $EE OFFSET = $EF PHYSICIST_X = $F0 PHYSICIST_Y = $F1 SPRITETEMP = $F2 XPOS = $F3 YPOS = $F4 DIRECTION = $F5 GAIT = $F6 TENTACLE_X = $F7 TENTACLE_PROGRESS = $F8 SLUGDEATH_PROGRESS = $F8 TENTACLE_GRAB = $F9 SLUGDEATH = $F9 TEMP = $FA TEMPY = $FB INL = $FC INH = $FD OUTL = $FE OUTH = $FF