include "cps_a.inc" include "cps_b.inc" include "romset.inc" ROM_BASE equ $0 ROM_SIZE equ $20000 ; RAM CHIPS GFX_RC_BASE equ $900000 GFX_RC_SIZE equ $30000 GFX_RC_ADDR_LINES equ 17 GFX_RC_MASK equ $ffff WORK_RC_BASE equ $ff0000 WORK_RC_SIZE equ $10000 WORK_RC_ADDR_LINES equ 16 WORK_RC_MASK equ $ffff ; MEMORY REGIONS ; using the values from sf2 PALETTE_BASE equ GFX_RC_BASE PALETTE_SIZE equ $4000 PALETTE_ENTRY_SIZE equ $20 OBJECT_BASE equ GFX_RC_BASE + $10000 OBJECT_SIZE equ $800 SCROLL1_BASE equ GFX_RC_BASE + $c000 SCROLL1_SIZE equ $4000 SCROLL2_BASE equ GFX_RC_BASE + $4000 SCROLL2_SIZE equ $4000 SCROLL3_BASE equ GFX_RC_BASE + $8000 SCROLL3_SIZE equ $4000 ROW_SCROLL_BASE equ GFX_RC_BASE + $20000 ROW_SCROLL_SIZE equ $4000 WORK_RAM_BASE equ WORK_RC_BASE WORK_RAM_SIZE equ WORK_RC_SIZE ; REG/IO REG_SOUND1 equ $800181 REG_SOUND2 equ $800189 REG_COIN_CTRL equ $800030 REG_INPUT_DSW1 equ $80001a REG_INPUT_DSW2 equ $80001c REG_INPUT_DSW3 equ $80001e REG_INPUT_P1 equ $800001 REG_INPUT_P2 equ $800000 REG_INPUT_IN2 equ $800177 REG_INPUT_IN3 equ $800179 REG_INPUT_SYSTEM equ $800018 CHAR_COLON equ ':' SOUND_NUM_STOP equ $f0 macro SOUND_PLAY DSUB sound_play endm macro SOUND_STOP move.b #SOUND_NUM_STOP, REG_SOUND1 endm macro WATCHDOG endm