diff options
Diffstat (limited to 'src/mame/machine/pitnrun.c')
-rw-r--r-- | src/mame/machine/pitnrun.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/pitnrun.c b/src/mame/machine/pitnrun.c index 570d8e3a04d..877e45a8a78 100644 --- a/src/mame/machine/pitnrun.c +++ b/src/mame/machine/pitnrun.c @@ -28,7 +28,7 @@ static TIMER_CALLBACK( pitnrun_mcu_real_data_r ) READ8_HANDLER( pitnrun_mcu_data_r ) { - timer_call_after_resynch(0,pitnrun_mcu_real_data_r); + timer_call_after_resynch(NULL, 0,pitnrun_mcu_real_data_r); return toz80; } @@ -41,13 +41,13 @@ static TIMER_CALLBACK( pitnrun_mcu_real_data_w ) WRITE8_HANDLER( pitnrun_mcu_data_w ) { - timer_call_after_resynch(data,pitnrun_mcu_real_data_w); + timer_call_after_resynch(NULL, data,pitnrun_mcu_real_data_w); + cpu_boost_interleave(attotime_zero, ATTOTIME_IN_USEC(5)); } READ8_HANDLER( pitnrun_mcu_status_r ) { /* mcu synchronization */ - cpu_yielduntil_time (ATTOTIME_IN_USEC(5)); /* bit 0 = the 68705 has read data from the Z80 */ /* bit 1 = the 68705 has written data for the Z80 */ return ~((zready << 1) | (zaccept << 0)); @@ -108,14 +108,14 @@ WRITE8_HANDLER( pitnrun_68705_portB_w ) if (~data & 0x02) { /* 68705 is going to read data from the Z80 */ - timer_call_after_resynch(0,pitnrun_mcu_data_real_r); + timer_call_after_resynch(NULL, 0,pitnrun_mcu_data_real_r); cpunum_set_input_line(2,0,CLEAR_LINE); portA_in = fromz80; } if (~data & 0x04) { /* 68705 is writing data for the Z80 */ - timer_call_after_resynch(portA_out,pitnrun_mcu_status_real_w); + timer_call_after_resynch(NULL, portA_out,pitnrun_mcu_status_real_w); } if (~data & 0x10) { |