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

Function M103Power

src/boards/103.cpp:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79static 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
91static void M103Close(void) {
92 if (WRAM)

Callers

nothing calls this directly

Calls 3

SetReadHandlerFunction · 0.85
SetWriteHandlerFunction · 0.85
SyncFunction · 0.70

Tested by

no test coverage detected