summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/mc1502_fdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/mc1502_fdc.h')
-rw-r--r--src/devices/bus/isa/mc1502_fdc.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/isa/mc1502_fdc.h b/src/devices/bus/isa/mc1502_fdc.h
index 5689409e63e..a589ca0c810 100644
--- a/src/devices/bus/isa/mc1502_fdc.h
+++ b/src/devices/bus/isa/mc1502_fdc.h
@@ -32,9 +32,9 @@ public:
TIMER_CALLBACK_MEMBER(motor_callback);
- DECLARE_READ8_MEMBER(mc1502_fdc_r);
- DECLARE_READ8_MEMBER(mc1502_fdcv2_r);
- DECLARE_WRITE8_MEMBER(mc1502_fdc_w);
+ uint8_t mc1502_fdc_r(offs_t offset);
+ uint8_t mc1502_fdcv2_r(offs_t offset);
+ void mc1502_fdc_w(offs_t offset, uint8_t data);
protected:
// device-level overrides
@@ -45,15 +45,14 @@ protected:
virtual const tiny_rom_entry *device_rom_region() const override;
private:
- DECLARE_FLOPPY_FORMATS(floppy_formats);
-
- DECLARE_WRITE_LINE_MEMBER(mc1502_fdc_irq_drq);
+ void mc1502_fdc_irq_drq(int state);
required_device<fd1793_device> m_fdc;
int motor_on;
+ u8 m_control;
emu_timer *motor_timer;
required_device<cpu_device> m_cpu;
-
+ void motors_onoff();
public:
void mc1502_wd17xx_aux_w(uint8_t data);
uint8_t mc1502_wd17xx_aux_r();