diff options
Diffstat (limited to 'src/devices/bus/hp9845_io/98034.cpp')
-rw-r--r-- | src/devices/bus/hp9845_io/98034.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/hp9845_io/98034.cpp b/src/devices/bus/hp9845_io/98034.cpp index d76101f003c..61658c1ecf1 100644 --- a/src/devices/bus/hp9845_io/98034.cpp +++ b/src/devices/bus/hp9845_io/98034.cpp @@ -15,7 +15,6 @@ #include "emu.h" #include "98034.h" -#include "coreutil.h" // Debugging //#define VERBOSE 1 @@ -147,7 +146,7 @@ uint16_t hp98034_io_card_device::reg_r(address_space &space, offs_t offset) // This is meant to gain some margin to NP in the race with // CPU (in real hw the margin was probably no more than a // couple of µs). - machine().scheduler().boost_interleave(attotime::from_usec(5) , attotime::from_usec(100)); + machine().scheduler().add_quantum(attotime::from_usec(5) , attotime::from_usec(100)); space.device().execute().spin(); machine().scheduler().synchronize(); LOG("%.06f RD R%u=%04x %s\n" , machine().time().as_double() , offset + 4 , res , machine().describe_context()); @@ -170,7 +169,7 @@ void hp98034_io_card_device::reg_w(address_space &space, offs_t offset, uint16_t update_flg(); // See reg_r above - machine().scheduler().boost_interleave(attotime::from_usec(5) , attotime::from_usec(100)); + machine().scheduler().add_quantum(attotime::from_usec(5) , attotime::from_usec(100)); space.device().execute().spin(); machine().scheduler().synchronize(); LOG("%.06f WR R%u=%04x %s\n" , machine().time().as_double() , offset + 4 , data , machine().describe_context()); @@ -271,7 +270,7 @@ void hp98034_io_card_device::mode_reg_clear_w(uint8_t data) m_force_flg = false; if (update_flg()) { // See reg_r above - machine().scheduler().boost_interleave(attotime::zero , attotime::from_usec(100)); + machine().scheduler().perfect_quantum(attotime::from_usec(100)); machine().scheduler().synchronize(); } } @@ -292,7 +291,7 @@ uint8_t hp98034_io_card_device::int_ack_r() return res; } -WRITE_LINE_MEMBER(hp98034_io_card_device::ieee488_ctrl_w) +void hp98034_io_card_device::ieee488_ctrl_w(int state) { update_clr_hpib(); } @@ -303,7 +302,7 @@ void hp98034_io_card_device::update_dc() sts_w(BIT(m_dc , 4)); if (update_flg()) { // See reg_r above - machine().scheduler().boost_interleave(attotime::zero , attotime::from_usec(100)); + machine().scheduler().perfect_quantum(attotime::from_usec(100)); machine().scheduler().synchronize(); } update_clr_hpib(); |