memmap.i65 668 B

123456789101112131415161718192021222324
  1. #if 0 /* #if0'd because it's #included, and those don't get parsed properly by snescom */
  2. ; This file is part of the snescom-asm demo - a demo of how to build a SNES program.
  3. ; See http://bisqwit.iki.fi/source/snescom.html for details.
  4. #endif
  5. /* These must be defined as constants, because they're used
  6. * in calculation that is sent to PPU as parameters */
  7. #define BG1_TILE_BASE $5800
  8. #define BG2_TILE_BASE $5000
  9. #define OAM_TILE_BASE $6000
  10. #define BG1_TILE_BUF $7FB000
  11. #define BG2_TILE_BUF $7FA000
  12. #define BG1_TILE_BAK $7F9000
  13. #define BG2_TILE_BAK $7F8000
  14. #define AVR_CMD $307000
  15. #define AVR_PARAM $307004
  16. #define RTC_STATUS $307100
  17. #define ROOT_DIR $C10000