src/mess/drivers/radio86.c
| r3595 | r3596 | |
| 318 | 318 | |
| 319 | 319 | static DIRECT_UPDATE_HANDLER( radio16_direct ) |
| 320 | 320 | { |
| 321 | | /* if (address >= 0x4000 && address <=0x7FFF) { |
| 321 | if (address >= 0x4000 && address <=0x7FFF) { |
| 322 | 322 | direct->mask = 0xffff; |
| 323 | | direct->ram = radio16_io_mirror; |
| 324 | | direct->rom = radio16_io_mirror; |
| 325 | | direct->mem_min = 0x4000; |
| 326 | | direct->mem_max = 0x7fff; |
| 327 | | radio16_io_mirror[address] = cpu_get_reg(machine->cpu[0], I8080_STATUS); |
| 328 | | } */ |
| 323 | direct->raw = radio16_io_mirror; |
| 324 | direct->decrypted = radio16_io_mirror; |
| 325 | direct->min = 0x4000; |
| 326 | direct->max = 0x7fff; |
| 327 | radio16_io_mirror[address] = cpu_get_reg(space->machine->cpu[0], I8080_STATUS); |
| 328 | } |
| 329 | 329 | return address; |
| 330 | 330 | } |
| 331 | 331 | |
src/mess/drivers/mikrosha.c
| r3595 | r3596 | |
| 135 | 135 | |
| 136 | 136 | static DIRECT_UPDATE_HANDLER( mikrosha_direct ) |
| 137 | 137 | { |
| 138 | | /* if (address >= 0x8000 && address <=0xFFFF) { |
| 139 | | opbase->mask = 0xffff; |
| 140 | | opbase->ram = mikrosha_io_mirror; |
| 141 | | opbase->rom = mikrosha_io_mirror; |
| 142 | | opbase->mem_min = 0x8000; |
| 143 | | opbase->mem_max = 0xffff; |
| 144 | | mikrosha_io_mirror[address] = cpunum_get_reg(0, I8080_STATUS); |
| 145 | | } */ |
| 138 | if (address >= 0x8000 && address <=0xFFFF) { |
| 139 | direct->mask = 0xffff; |
| 140 | direct->raw = mikrosha_io_mirror; |
| 141 | direct->decrypted = mikrosha_io_mirror; |
| 142 | direct->min = 0x8000; |
| 143 | direct->max = 0xffff; |
| 144 | mikrosha_io_mirror[address] = cpu_get_reg(space->machine->cpu[0], I8080_STATUS); |
| 145 | } |
| 146 | 146 | return address; |
| 147 | 147 | } |
| 148 | 148 | |