MCPcopy Create free account
hub / github.com/TASEmulators/fceux / M186Power

Function M186Power

src/boards/186.cpp:91–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void M186Power(void) {
92 setchr8(0);
93 SetReadHandler(0x6000, 0xFFFF, CartBR);
94 SetWriteHandler(0x6000, 0xFFFF, CartBW);
95 SetReadHandler(0x4200, 0x43FF, M186Read);
96 SetWriteHandler(0x4200, 0x43FF, M186Write);
97 SetReadHandler(0x4400, 0x4FFF, ASWRAM);
98 SetWriteHandler(0x4400, 0x4FFF, BSWRAM);
99 FCEU_CheatAddRAM(32, 0x6000, WRAM);
100 regs[0] = regs[1] = regs[2] = regs[3];
101 Sync();
102}
103
104static void M186Close(void) {
105 if (WRAM)

Callers

nothing calls this directly

Calls 5

setchr8Function · 0.85
SetReadHandlerFunction · 0.85
SetWriteHandlerFunction · 0.85
FCEU_CheatAddRAMFunction · 0.85
SyncFunction · 0.70

Tested by

no test coverage detected