summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mc6852.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mc6852.h')
-rw-r--r--src/devices/machine/mc6852.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/mc6852.h b/src/devices/machine/mc6852.h
index 3f05182ed6f..27e7ec9f962 100644
--- a/src/devices/machine/mc6852.h
+++ b/src/devices/machine/mc6852.h
@@ -64,6 +64,11 @@ public:
DECLARE_READ_LINE_MEMBER( sm_dtr_r ) { return m_sm_dtr; }
DECLARE_READ_LINE_MEMBER( tuf_r ) { return m_tuf; }
+ // These are to allow integration of this driver with code
+ // controlling floppy disks.
+ void receive_byte(uint8_t data);
+ uint8_t get_tx_byte(int *tuf);
+
protected:
// device-level overrides
virtual void device_start() override;
@@ -148,6 +153,7 @@ private:
int m_dcd; // data carrier detect
int m_sm_dtr; // sync match/data terminal ready
int m_tuf; // transmitter underflow
+ int m_in_sync;
};