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

Function S74LS374MSync

src/boards/sachen.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24static uint8 latch[8];
25
26static void S74LS374MSync(uint8 mirr) {
27 switch (mirr & 3) {
28 case 0: setmirror(MI_V); break;
29 case 1: setmirror(MI_H); break;
30 case 2: setmirrorw(0, 1, 1, 1); break;
31 case 3: setmirror(MI_0); break;
32 }
33}
34
35static void S74LS374NSynco(void) {
36 setprg32(0x8000, latch[0]);

Callers 3

S74LS374NSyncoFunction · 0.85
S74LS374NASyncoFunction · 0.85
S8259SyncoFunction · 0.85

Calls 2

setmirrorFunction · 0.85
setmirrorwFunction · 0.85

Tested by

no test coverage detected