trunk/src/mame/machine/playch10.c
| r31510 | r31511 | |
| 178 | 178 | m_rp5h01->clock_w(space, 0, data & 0x08); /* D3 */ |
| 179 | 179 | m_rp5h01->reset_w(space, 0, ~data & 0x01); /* D0 */ |
| 180 | 180 | m_rp5h01->enable_w(space, 0, 1); |
| 181 | | |
| 182 | | /* this thing gets dense at some point */ |
| 183 | | /* it wants to jump and execute an opcode at $ffff, wich */ |
| 184 | | /* is the actual protection memory area */ |
| 185 | | /* setting the whole 0x2000 region every time is a waste */ |
| 186 | | /* so we just set $ffff with the current value */ |
| 187 | | memregion("maincpu")->base()[0xffff] = pc10_prot_r(space, 0); |
| 188 | 181 | } |
| 189 | 182 | } |
| 190 | 183 | |