summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/c128.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/c128.cpp')
-rw-r--r--src/mame/drivers/c128.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/c128.cpp b/src/mame/drivers/c128.cpp
index a17eb633647..1429bac713f 100644
--- a/src/mame/drivers/c128.cpp
+++ b/src/mame/drivers/c128.cpp
@@ -432,11 +432,11 @@ uint8_t c128_state::read_memory(address_space &space, offs_t offset, offs_t vma,
break;
case 4: // CIA1
- data = m_cia1->read(space, offset & 0x0f);
+ data = m_cia1->read(offset & 0x0f);
break;
case 5: // CIA2
- data = m_cia2->read(space, offset & 0x0f);
+ data = m_cia2->read(offset & 0x0f);
break;
case 6: // I/O1
@@ -516,11 +516,11 @@ void c128_state::write_memory(address_space &space, offs_t offset, offs_t vma, u
break;
case 4: // CIA1
- m_cia1->write(space, offset & 0x0f, data);
+ m_cia1->write(offset & 0x0f, data);
break;
case 5: // CIA2
- m_cia2->write(space, offset & 0x0f, data);
+ m_cia2->write(offset & 0x0f, data);
break;
case 6: // I/O1
@@ -1111,7 +1111,7 @@ READ8_MEMBER( c128_state::sid_potx_r )
{
uint8_t data = 0xff;
- switch (m_cia1->read_pa() >> 6)
+ switch (m_cia1->pa_r() >> 6)
{
case 1: data = m_joy1->read_pot_x(); break;
case 2: data = m_joy2->read_pot_x(); break;
@@ -1138,7 +1138,7 @@ READ8_MEMBER( c128_state::sid_poty_r )
{
uint8_t data = 0xff;
- switch (m_cia1->read_pa() >> 6)
+ switch (m_cia1->pa_r() >> 6)
{
case 1: data = m_joy1->read_pot_y(); break;
case 2: data = m_joy2->read_pot_y(); break;
@@ -1192,7 +1192,7 @@ READ8_MEMBER( c128_state::cia1_pa_r )
data &= ~(!BIT(joy_b, 5) << 4);
// keyboard
- uint8_t cia1_pb = m_cia1->read_pb();
+ uint8_t cia1_pb = m_cia1->pb_r();
uint32_t row[8] = { m_row[0]->read(), m_row[1]->read() & m_lock->read(), m_row[2]->read(), m_row[3]->read(),
m_row[4]->read(), m_row[5]->read(), m_row[6]->read(), m_row[7]->read() };
@@ -1260,7 +1260,7 @@ READ8_MEMBER( c128_state::cia1_pb_r )
data &= ~(!BIT(joy_a, 5) << 4);
// keyboard
- uint8_t cia1_pa = m_cia1->read_pa();
+ uint8_t cia1_pa = m_cia1->pa_r();
if (!BIT(cia1_pa, 7)) data &= m_row[7]->read();
if (!BIT(cia1_pa, 6)) data &= m_row[6]->read();