#if 0 /* #if0'd because it's #included, and those don't get parsed properly by snescom */ ; This file is part of the snescom-asm demo - a demo of how to build a SNES program. ; See http://bisqwit.iki.fi/source/snescom.html for details. #endif /* These must be defined as constants, because they're used * in calculation that is sent to PPU as parameters */ #define APUIO0 $2140 #define APUIO1 $2141 #define APUIO2 $2142 #define APUIO3 $2143 #define BG1_TILE_BASE $5800 #define BG2_TILE_BASE $5000 #define OAM_TILE_BASE $6000 #define BG1_TILE_BUF $7EB000 #define BG2_TILE_BUF $7EA000 #define BG1_TILE_BAK $7E9000 #define BG2_TILE_BAK $7E8000 #define MCU_CMD $307000 #define MCU_PARAM $307004 #define RTC_STATUS $307100 #define LAST_STATUS $307101 #define SYSINFO_BLK $307200 #define LAST_GAME $307420 #define ROOT_DIR $C10000 #define CMD_SYSINFO $03 #define CMD_LOADSPC $05 #define CMD_RESET $06 #define SPC_DATA $FD0000 #define SPC_HEADER $FE0000 #define SPC_DSP_REGS $FE0100