inc: cleanup and organize header files
[swan-dev] / inc / memory.h
1 /* memory addresses */
2 #define WS_RAM_BASE             0x0000
3 #define WS_TILE_BANK            0x2000
4 #define WSC_TILE_BANK1          0x4000
5 #define WSC_TILE_BANK2          0x8000
6 #define WSC_RAM_BASE2           0xC000
7 #define WSC_PALETTES            0xFE00
8
9 /* hardware device id */
10 #define IO_HARDWARE_TYPE        0xA0
11 #define WS_COLOR                0x02
12 #define WS_MONO                 0x00
13
14 /* banks */
15 #define IO_ROM_BASE_BANK        0xC0
16 #define IO_SRAM_BANK            0xC1
17 #define IO_ROM_BANK_SEGMENT2    0xC2
18 #define IO_ROM_BANK_SEGMENT3    0xC3