summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hp9825.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hp9825.cpp')
-rw-r--r--src/mame/drivers/hp9825.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/hp9825.cpp b/src/mame/drivers/hp9825.cpp
index d1512fa31c8..021ae268e1b 100644
--- a/src/mame/drivers/hp9825.cpp
+++ b/src/mame/drivers/hp9825.cpp
@@ -206,8 +206,8 @@ void hp9825_state::device_reset()
// Then, set r/w handlers of all installed I/O cards
int sc;
- read16_delegate rhandler;
- write16_delegate whandler;
+ read16_delegate rhandler(*this);
+ write16_delegate whandler(*this);
for (unsigned i = 0; i < 3; i++) {
if ((sc = m_io_slot[ i ]->get_rw_handlers(rhandler , whandler)) >= 0) {
logerror("Install R/W handlers for slot %u @ SC = %d\n", i, sc);
@@ -648,10 +648,10 @@ void hp9825_state::hp9825_base(machine_config &config)
m_io_sys->flg().set(m_cpu , FUNC(hp_09825_67907_cpu_device::flag_w));
m_io_sys->dmar().set(m_cpu , FUNC(hp_09825_67907_cpu_device::dmar_w));
- TIMER(config , m_cursor_timer , 0).configure_generic(timer_device::expired_delegate(FUNC(hp9825_state::cursor_blink) , this));
+ TIMER(config , m_cursor_timer , 0).configure_generic(FUNC(hp9825_state::cursor_blink));
// Keyboard scan timer. A scan of the whole keyboard should take 2^14 KDP clocks.
- TIMER(config , "kb_timer" , 0).configure_periodic(timer_device::expired_delegate(FUNC(hp9825_state::kb_scan) , this) , attotime::from_ticks(16384 , KDP_CLOCK));
+ TIMER(config , "kb_timer" , 0).configure_periodic(FUNC(hp9825_state::kb_scan), attotime::from_ticks(16384 , KDP_CLOCK));
// Tape drive
HP9825_TAPE(config , m_tape , 0);
@@ -662,12 +662,12 @@ void hp9825_state::hp9825_base(machine_config &config)
// Printer
BITBANGER(config , m_prt_alpha_out , 0);
BITBANGER(config , m_prt_graph_out , 0);
- TIMER(config , m_prt_timer , 0).configure_generic(timer_device::expired_delegate(FUNC(hp9825_state::prt_timer) , this));
+ TIMER(config , m_prt_timer , 0).configure_generic(FUNC(hp9825_state::prt_timer));
// Beeper
SPEAKER(config, "mono").front_center();
BEEP(config, m_beeper, BEEPER_FREQ).add_route(ALL_OUTPUTS, "mono", 1.00);
- TIMER(config , m_beep_timer , 0).configure_generic(timer_device::expired_delegate(FUNC(hp9825_state::beep_timer) , this));
+ TIMER(config , m_beep_timer , 0).configure_generic(FUNC(hp9825_state::beep_timer));
// I/O slots
for (unsigned slot = 0; slot < 3; slot++) {