summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/74259.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/74259.cpp')
-rw-r--r--src/devices/machine/74259.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/devices/machine/74259.cpp b/src/devices/machine/74259.cpp
index 3c32a9f167d..e8632baf940 100644
--- a/src/devices/machine/74259.cpp
+++ b/src/devices/machine/74259.cpp
@@ -281,6 +281,17 @@ WRITE8_MEMBER(addressable_latch_device::write_a0)
}
//-------------------------------------------------
+// write_a3 - write handler that uses three
+// lowest bits of address bus as address and
+// fourth lowest as data input
+//-------------------------------------------------
+
+WRITE8_MEMBER(addressable_latch_device::write_a3)
+{
+ write_bit(offset & 7, (offset & 8) >> 3);
+}
+
+//-------------------------------------------------
// write_nibble - write handler using LSB of
// data as input and next three bits as address
// (offset is ignored)