diff options
Diffstat (limited to 'src/devices/cpu/z8000/z8000.cpp')
-rw-r--r-- | src/devices/cpu/z8000/z8000.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/cpu/z8000/z8000.cpp b/src/devices/cpu/z8000/z8000.cpp index 756db749534..ad3a740ef30 100644 --- a/src/devices/cpu/z8000/z8000.cpp +++ b/src/devices/cpu/z8000/z8000.cpp @@ -285,6 +285,7 @@ uint16_t z8002_device::RDPORT_W(int mode, uint16_t addr) { if(mode == 0) { + // FIXME: this should perform a 16-bit big-endian word read return m_io->read_byte((uint16_t)(addr)) + (m_io->read_byte((uint16_t)(addr+1)) << 8); } @@ -325,6 +326,7 @@ void z8002_device::WRPORT_W(int mode, uint16_t addr, uint16_t value) { if(mode == 0) { + // FIXME: this should perform a 16-bit big-endian word write m_io->write_byte((uint16_t)(addr),value & 0xff); m_io->write_byte((uint16_t)(addr+1),(value >> 8) & 0xff); } |