summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/bbc.h
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-12-22 12:00:26 +0000
committer smf- <smf-@users.noreply.github.com>2013-12-22 12:00:26 +0000
commitb4c7b67ff9a1b12dd414502864cee66628b3bd19 (patch)
treed056e8e53b0778cde38a817def2c19eded32c18d /src/mess/includes/bbc.h
parent8b0c23f055c9d6869f3a909072941f5c9025bb50 (diff)
replaced read rx/cts/dcd callbacks in ACIA6850 write write handlers, which allows multiple chips to be connected together without using glue methods. [smf]
Diffstat (limited to 'src/mess/includes/bbc.h')
-rw-r--r--src/mess/includes/bbc.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mess/includes/bbc.h b/src/mess/includes/bbc.h
index 00e7a5d65e5..1031d71ed3e 100644
--- a/src/mess/includes/bbc.h
+++ b/src/mess/includes/bbc.h
@@ -175,6 +175,9 @@ public:
int m_len3;
int m_mc6850_clock;
UINT8 m_serproc_data;
+ int m_rxd_serial;
+ int m_dcd_serial;
+ int m_cts_serial;
int m_dcd_cass;
int m_rxd_cass;
int m_cass_out_enabled;
@@ -340,11 +343,14 @@ public:
DECLARE_WRITE_LINE_MEMBER(bbc_wd177x_intrq_w);
DECLARE_WRITE_LINE_MEMBER(bbc_wd177x_drq_w);
DECLARE_WRITE_LINE_MEMBER(bbc_vsync);
- DECLARE_READ_LINE_MEMBER(bbc_rxd_r);
- DECLARE_READ_LINE_MEMBER(bbc_dcd_r);
- DECLARE_READ_LINE_MEMBER(bbc_cts_r);
+ void update_acia_rxd();
+ void update_acia_dcd();
+ void update_acia_cts();
DECLARE_WRITE_LINE_MEMBER(bbc_rts_w);
DECLARE_WRITE_LINE_MEMBER(bbc_txd_w);
+ DECLARE_WRITE_LINE_MEMBER(write_rxd_serial);
+ DECLARE_WRITE_LINE_MEMBER(write_dcd_serial);
+ DECLARE_WRITE_LINE_MEMBER(write_cts_serial);
DECLARE_INPUT_CHANGED_MEMBER( trigger_reset );
DECLARE_DEVICE_IMAGE_LOAD_MEMBER( bbcb_cart );