diff options
Diffstat (limited to 'src/devices/bus/compucolor/floppy.cpp')
-rw-r--r-- | src/devices/bus/compucolor/floppy.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/bus/compucolor/floppy.cpp b/src/devices/bus/compucolor/floppy.cpp index 166cc2d5bbb..1c599115db4 100644 --- a/src/devices/bus/compucolor/floppy.cpp +++ b/src/devices/bus/compucolor/floppy.cpp @@ -9,6 +9,8 @@ #include "emu.h" #include "floppy.h" +#include "formats/ccvf_dsk.h" + //************************************************************************** @@ -127,7 +129,7 @@ void compucolor_floppy_port_device::device_start() void compucolor_floppy_device::device_start() { // allocate timer - m_timer = timer_alloc(); + m_timer = timer_alloc(FUNC(compucolor_floppy_device::rxd_tick), this); m_timer->adjust(attotime::from_hz(9600*8), 0, attotime::from_hz(9600*8)); // state saving @@ -138,10 +140,10 @@ void compucolor_floppy_device::device_start() //------------------------------------------------- -// device_timer - handle timer events +// rxd_tick - //------------------------------------------------- -void compucolor_floppy_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) +TIMER_CALLBACK_MEMBER(compucolor_floppy_device::rxd_tick) { if (!m_sel && !m_rw) { |