diff options
Diffstat (limited to 'src/devices/bus/isbx/compis_fdc.cpp')
-rw-r--r-- | src/devices/bus/isbx/compis_fdc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/isbx/compis_fdc.cpp b/src/devices/bus/isbx/compis_fdc.cpp index e1d464a37c2..fea0e7f59b5 100644 --- a/src/devices/bus/isbx/compis_fdc.cpp +++ b/src/devices/bus/isbx/compis_fdc.cpp @@ -106,14 +106,14 @@ void compis_fdc_device::device_reset() // mcs0_r - chip select 0 read //------------------------------------------------- -uint8_t compis_fdc_device::mcs0_r(address_space &space, offs_t offset) +uint8_t compis_fdc_device::mcs0_r(offs_t offset) { uint8_t data = 0xff; switch (BIT(offset, 0)) { - case 0: data = m_fdc->msr_r(space, 0); break; - case 1: data = m_fdc->fifo_r(space, 0); break; + case 0: data = m_fdc->msr_r(); break; + case 1: data = m_fdc->fifo_r(); break; } return data; @@ -124,11 +124,11 @@ uint8_t compis_fdc_device::mcs0_r(address_space &space, offs_t offset) // mcs0_w - chip select 0 write //------------------------------------------------- -void compis_fdc_device::mcs0_w(address_space &space, offs_t offset, uint8_t data) +void compis_fdc_device::mcs0_w(offs_t offset, uint8_t data) { switch (BIT(offset, 0)) { - case 1: m_fdc->fifo_w(space, 0, data); break; + case 1: m_fdc->fifo_w(data); break; } } @@ -137,7 +137,7 @@ void compis_fdc_device::mcs0_w(address_space &space, offs_t offset, uint8_t data // mdack_r - DMA acknowledge read //------------------------------------------------- -uint8_t compis_fdc_device::mdack_r(address_space &space, offs_t offset) +uint8_t compis_fdc_device::mdack_r(offs_t offset) { return m_fdc->dma_r(); } @@ -147,7 +147,7 @@ uint8_t compis_fdc_device::mdack_r(address_space &space, offs_t offset) // mdack_w - DMA acknowledge write //------------------------------------------------- -void compis_fdc_device::mdack_w(address_space &space, offs_t offset, uint8_t data) +void compis_fdc_device::mdack_w(offs_t offset, uint8_t data) { m_fdc->dma_w(data); } |