diff options
Diffstat (limited to 'src/devices/video/nt7534.cpp')
-rw-r--r-- | src/devices/video/nt7534.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/video/nt7534.cpp b/src/devices/video/nt7534.cpp index a4cb9fb33f7..e777aac55dc 100644 --- a/src/devices/video/nt7534.cpp +++ b/src/devices/video/nt7534.cpp @@ -155,27 +155,27 @@ uint32_t nt7534_device::screen_update(screen_device &screen, bitmap_ind16 &bitma return 0; } -READ8_MEMBER(nt7534_device::read) +uint8_t nt7534_device::read(offs_t offset) { switch (offset & 0x01) { - case 0: return control_read(space, 0); - case 1: return data_read(space, 0); + case 0: return control_read(); + case 1: return data_read(); } return 0; } -WRITE8_MEMBER(nt7534_device::write) +void nt7534_device::write(offs_t offset, uint8_t data) { switch (offset & 0x01) { - case 0: control_write(space, 0, data); break; - case 1: data_write(space, 0, data); break; + case 0: control_write(data); break; + case 1: data_write(data); break; } } -WRITE8_MEMBER(nt7534_device::control_write) +void nt7534_device::control_write(uint8_t data) { if (m_data_len == 4) { @@ -284,7 +284,7 @@ WRITE8_MEMBER(nt7534_device::control_write) } } -READ8_MEMBER(nt7534_device::control_read) +uint8_t nt7534_device::control_read() { if (m_data_len == 4) { @@ -302,7 +302,7 @@ READ8_MEMBER(nt7534_device::control_read) } } -WRITE8_MEMBER(nt7534_device::data_write) +void nt7534_device::data_write(uint8_t data) { // if (m_busy_flag) // { @@ -340,7 +340,7 @@ WRITE8_MEMBER(nt7534_device::data_write) set_busy_flag(41); } -READ8_MEMBER(nt7534_device::data_read) +uint8_t nt7534_device::data_read() { if (m_page*132 + m_column >= ARRAY_LENGTH(m_ddram)) return 0; |