Mercurial > repos > blastem
comparison xband.h @ 1228:2e6dcb5c11a2
WIP support for XBAND mapper hardware
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 23 Feb 2017 00:08:37 -0800 |
parents | |
children | a8313793216a |
comparison
equal
deleted
inserted
replaced
1227:262c0ce8f586 | 1228:2e6dcb5c11a2 |
---|---|
1 #ifndef XBAND_H_ | |
2 #define XBAND_H_ | |
3 #include <stdint.h> | |
4 | |
5 #define XBAND_REGS 0xB6 | |
6 | |
7 typedef struct { | |
8 uint16_t cart_space[0x200000]; | |
9 uint8_t regs[XBAND_REGS]; | |
10 uint8_t kill; | |
11 uint8_t control; | |
12 } xband; | |
13 | |
14 uint8_t xband_detect(uint8_t *rom, uint32_t rom_size); | |
15 rom_info xband_configure_rom(tern_node *rom_db, void *rom, uint32_t rom_size, void *lock_on, uint32_t lock_on_size, memmap_chunk const *base_map, uint32_t base_chunks); | |
16 | |
17 #endif //XBAND_H_ |