diff options
Diffstat (limited to 'src/devices/machine/upd765.h')
-rw-r--r-- | src/devices/machine/upd765.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/machine/upd765.h b/src/devices/machine/upd765.h index 0c81f5aaa77..0ba8aa6d1c7 100644 --- a/src/devices/machine/upd765.h +++ b/src/devices/machine/upd765.h @@ -49,6 +49,7 @@ public: void ready_w(bool val); DECLARE_WRITE_LINE_MEMBER(tc_line_w) { tc_w(state == ASSERT_LINE); } + DECLARE_WRITE_LINE_MEMBER(reset_w); void set_rate(int rate); // rate in bps, to be used when the fdc is externally frequency-controlled @@ -231,7 +232,7 @@ protected: static constexpr int rates[4] = { 500000, 300000, 250000, 1000000 }; - bool ready_connected, ready_polled, select_connected, select_multiplexed; + bool ready_connected, ready_polled, select_connected, select_multiplexed, has_dor; bool external_ready; @@ -250,7 +251,7 @@ protected: bool fifo_write; uint8_t dor, dsr, msr, fifo[16], command[16], result[16]; uint8_t st1, st2, st3; - uint8_t fifocfg, dor_reset; + uint8_t fifocfg; uint8_t precomp; uint16_t spec; int sector_size; @@ -259,7 +260,6 @@ protected: emu_timer *poll_timer; - static std::string tts(attotime t); std::string results() const; std::string ttsn() const; @@ -288,6 +288,8 @@ protected: C_INCOMPLETE }; + void end_reset(); + void delay_cycles(emu_timer *tm, int cycles); void check_irq(); void fifo_expect(int size, bool write); |