summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/x2201.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/x2201.cpp')
-rw-r--r--src/devices/machine/x2201.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/devices/machine/x2201.cpp b/src/devices/machine/x2201.cpp
index 90d731b7e3e..ec252d1b8dd 100644
--- a/src/devices/machine/x2201.cpp
+++ b/src/devices/machine/x2201.cpp
@@ -128,6 +128,17 @@ u8 x2201_device::read(offs_t offset)
//-------------------------------------------------
+// read_byte - read 8 bits of data from RAM
+// (FIXME: remove once CRU reads are 1-bit)
+//-------------------------------------------------
+
+u8 x2201_device::read_byte(offs_t offset)
+{
+ return m_ram[offset & 127];
+}
+
+
+//-------------------------------------------------
// write - write one bit of data to RAM
//-------------------------------------------------