diff options
Diffstat (limited to 'src/mame/machine/taitoio.c')
-rw-r--r-- | src/mame/machine/taitoio.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/machine/taitoio.c b/src/mame/machine/taitoio.c index 421416aa961..5177f80c597 100644 --- a/src/mame/machine/taitoio.c +++ b/src/mame/machine/taitoio.c @@ -113,7 +113,7 @@ READ8_DEVICE_HANDLER( tc0220ioc_r ) return tc0220ioc->read_7(0); default: -//logerror("PC %06x: warning - read TC0220IOC address %02x\n",cpu_get_pc(&space->device()),offset); +//logerror("PC %06x: warning - read TC0220IOC address %02x\n",space->device().safe_pc(),offset); return 0xff; } } @@ -138,12 +138,12 @@ WRITE8_DEVICE_HANDLER( tc0220ioc_w ) coin_counter_w(device->machine(), 1, data & 0x08); //if (data & 0xf0) -//logerror("PC %06x: warning - write %02x to TC0220IOC address %02x\n",cpu_get_pc(&space->device()),data,offset); +//logerror("PC %06x: warning - write %02x to TC0220IOC address %02x\n",space->device().safe_pc(),data,offset); break; default: -//logerror("PC %06x: warning - write %02x to TC0220IOC address %02x\n",cpu_get_pc(&space->device()),data,offset); +//logerror("PC %06x: warning - write %02x to TC0220IOC address %02x\n",space->device().safe_pc(),data,offset); break; } } @@ -270,7 +270,7 @@ READ8_DEVICE_HANDLER( tc0510nio_r ) return tc0510nio->read_7(0); default: -//logerror("PC %06x: warning - read TC0510NIO address %02x\n",cpu_get_pc(&space->device()),offset); +//logerror("PC %06x: warning - read TC0510NIO address %02x\n",space->device().safe_pc(),offset); return 0xff; } } @@ -295,7 +295,7 @@ WRITE8_DEVICE_HANDLER( tc0510nio_w ) break; default: -//logerror("PC %06x: warning - write %02x to TC0510NIO address %02x\n",cpu_get_pc(&space->device()),data,offset); +//logerror("PC %06x: warning - write %02x to TC0510NIO address %02x\n",space->device().safe_pc(),data,offset); break; } } @@ -312,7 +312,7 @@ WRITE16_DEVICE_HANDLER( tc0510nio_halfword_w ) else { /* driftout writes the coin counters here - bug? */ -//logerror("CPU #0 PC %06x: warning - write to MSB of TC0510NIO address %02x\n",cpu_get_pc(&space->device()),offset); +//logerror("CPU #0 PC %06x: warning - write to MSB of TC0510NIO address %02x\n",space->device().safe_pc(),offset); tc0510nio_w(device, offset, (data >> 8) & 0xff); } } @@ -421,7 +421,7 @@ READ8_DEVICE_HANDLER( tc0640fio_r ) return tc0640fio->read_7(0); default: -//logerror("PC %06x: warning - read TC0640FIO address %02x\n",cpu_get_pc(&space->device()),offset); +//logerror("PC %06x: warning - read TC0640FIO address %02x\n",space->device().safe_pc(),offset); return 0xff; } } @@ -446,7 +446,7 @@ WRITE8_DEVICE_HANDLER( tc0640fio_w ) break; default: -//logerror("PC %06x: warning - write %02x to TC0640FIO address %02x\n",cpu_get_pc(&space->device()),data,offset); +//logerror("PC %06x: warning - write %02x to TC0640FIO address %02x\n",space->device().safe_pc(),data,offset); break; } } @@ -463,7 +463,7 @@ WRITE16_DEVICE_HANDLER( tc0640fio_halfword_w ) else { tc0640fio_w(device, offset, (data >> 8) & 0xff); -//logerror("CPU #0 PC %06x: warning - write to MSB of TC0640FIO address %02x\n",cpu_get_pc(&space->device()),offset); +//logerror("CPU #0 PC %06x: warning - write to MSB of TC0640FIO address %02x\n",space->device().safe_pc(),offset); } } @@ -479,7 +479,7 @@ WRITE16_DEVICE_HANDLER( tc0640fio_halfword_byteswap_w ) else { tc0640fio_w(device, offset, data & 0xff); -//logerror("CPU #0 PC %06x: warning - write to LSB of TC0640FIO address %02x\n",cpu_get_pc(&space->device()),offset); +//logerror("CPU #0 PC %06x: warning - write to LSB of TC0640FIO address %02x\n",space->device().safe_pc(),offset); } } |