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

Function Sync

src/boards/43.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38static void Sync(void) {
39 setprg4(0x5000, 8 << 1); // Only YS-612 advanced version
40 setprg8(0x6000, swap?0:2);
41 setprg8(0x8000, 1);
42 setprg8(0xa000, 0);
43 setprg8(0xc000, reg);
44 setprg8(0xe000, swap?8:9); // hard dump for mr.Mary is 128K,
45 // bank 9 is the last 2K ok bank 8 repeated 4 times, then till the end of 128K
46 // instead used bank A, containing some CHR data, ines rom have unused banks removed,
47 // and bank A moved to the bank 9 place for compatibility with other crappy dumps
48 setchr8(0);
49}
50
51static DECLFW(M43Write) {
52// int transo[8]={4,3,4,4,4,7,5,6};

Callers 3

DECLFWFunction · 0.70
M43PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 3

setprg4Function · 0.85
setprg8Function · 0.85
setchr8Function · 0.85

Tested by

no test coverage detected