| 32 | }; |
| 33 | |
| 34 | static void Sync(void) { |
| 35 | uint8 prg = (addrlatch & 7); |
| 36 | setchr8(datalatch); |
| 37 | if(addrlatch & 0x80) { |
| 38 | setprg16(0x8000,prg); |
| 39 | setprg16(0xC000,prg); |
| 40 | } else { |
| 41 | setprg32(0x8000,prg >> 1); |
| 42 | } |
| 43 | setmirror(MI_V); |
| 44 | } |
| 45 | |
| 46 | static DECLFW(EH8813AWrite) { |
| 47 | if((addrlatch & 0x100) == 0) { |
no test coverage detected