MAD_ROM_BASE equ $c000 MAD_ROM_SIZE equ $4000 CURSOR_CHAR equ $70 ; => CURSOR_CLEAR_CHAR equ $20 SOUND_NUM_SUCCESS equ $84 SOUND_NUM_BIT_ZERO equ $04 SOUND_NUM_BIT_ONE equ $08 ; we are only allowed to use d register macro SOUND_BIT_DELAY DELAY #$ffff endm ; There aren't enough registers to save the number of passes ; work ram tests have run and we can't store it in work ram. ; Instead we need to store it in some other location.. R_WORK_RAM_PASSES equ TILE_BASE ; video dac VD_NUM_COLORS equ $4 ; includes all/combined VD_NUM_BITS_PER_COLOR equ $6 ; includes all/combined VD_COLOR_BLOCK_WIDTH equ $4 VD_COLOR_BLOCK_HEIGHT equ $4 VD_TILE_B0_NUM equ $f8a VD_TILE_B0_PAL_OFFSET equ $14 VD_TILE_B1_NUM equ $f8b VD_TILE_B1_PAL_OFFSET equ $16 VD_TILE_B2_NUM equ $f8c VD_TILE_B2_PAL_OFFSET equ $18 VD_TILE_B3_NUM equ $f8d VD_TILE_B3_PAL_OFFSET equ $1a VD_TILE_B4_NUM equ $f8e VD_TILE_B4_PAL_OFFSET equ $1c VD_TILE_BA_NUM equ $f8f ; all bits enabled VD_TILE_BA_PAL_OFFSET equ $1e