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

Function M15Power

src/boards/15.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78static void M15Power(void) {
79 latchea = 0x8000;
80 latched = 0;
81 setprg8r(0x10, 0x6000, 0);
82 SetReadHandler(0x6000, 0x7FFF, CartBR);
83 SetWriteHandler(0x6000, 0x7FFF, CartBW);
84 SetWriteHandler(0x8000, 0xFFFF, M15Write);
85 SetReadHandler(0x8000, 0xFFFF, CartBR);
86 FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM);
87 Sync();
88}
89
90static void M15Reset(void) {
91 latchea = 0x8000;

Callers

nothing calls this directly

Calls 5

setprg8rFunction · 0.85
SetReadHandlerFunction · 0.85
SetWriteHandlerFunction · 0.85
FCEU_CheatAddRAMFunction · 0.85
SyncFunction · 0.70

Tested by

no test coverage detected