| 36 | }; |
| 37 | |
| 38 | static 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 | |
| 51 | static DECLFW(M43Write) { |
| 52 | // int transo[8]={4,3,4,4,4,7,5,6}; |