| 77 | } |
| 78 | |
| 79 | static void M103Power(void) { |
| 80 | reg0 = reg1 = 0; reg2 = 0; |
| 81 | Sync(); |
| 82 | SetReadHandler(0x6000, 0x7FFF, CartBR); |
| 83 | SetWriteHandler(0x6000, 0x7FFF, M103RamWrite0); |
| 84 | SetReadHandler(0x8000, 0xFFFF, CartBR); |
| 85 | SetWriteHandler(0xB800, 0xD7FF, M103RamWrite1); |
| 86 | SetWriteHandler(0x8000, 0x8FFF, M103Write0); |
| 87 | SetWriteHandler(0xE000, 0xEFFF, M103Write1); |
| 88 | SetWriteHandler(0xF000, 0xFFFF, M103Write2); |
| 89 | } |
| 90 | |
| 91 | static void M103Close(void) { |
| 92 | if (WRAM) |
nothing calls this directly
no test coverage detected