Commit | Line | Data |
---|---|---|
1 | #include "mapinc.h" | |
2 | ||
3 | static DECLFW(Mapper214_write) | |
4 | { | |
5 | // FCEU_printf("%02x:%02x\n",A,V); | |
6 | ROM_BANK16(0x8000,(A>>2)&3); | |
7 | ROM_BANK16(0xC000,(A>>2)&3); | |
8 | VROM_BANK8(A&3); | |
9 | } | |
10 | ||
11 | void Mapper214_init(void) | |
12 | { | |
13 | ROM_BANK16(0x8000,0); | |
14 | ROM_BANK16(0xC000,0); | |
15 | VROM_BANK8(0); | |
16 | SetWriteHandler(0x8000,0xFFFF,Mapper214_write); | |
17 | } |