diff options
Diffstat (limited to 'src/devices/bus/a2bus/a2softcard.cpp')
-rw-r--r-- | src/devices/bus/a2bus/a2softcard.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/bus/a2bus/a2softcard.cpp b/src/devices/bus/a2bus/a2softcard.cpp index b8c71153e7b..d41c84b9425 100644 --- a/src/devices/bus/a2bus/a2softcard.cpp +++ b/src/devices/bus/a2bus/a2softcard.cpp @@ -82,7 +82,7 @@ void a2bus_softcard_device::write_cnxx(uint8_t offset, uint8_t data) if (!m_bEnabled) { m_z80->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); - set_maincpu_halt(ASSERT_LINE); + raise_slot_dma(); if (m_FirstZ80Boot) { @@ -95,7 +95,7 @@ void a2bus_softcard_device::write_cnxx(uint8_t offset, uint8_t data) else { m_z80->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); - set_maincpu_halt(CLEAR_LINE); + lower_slot_dma(); m_bEnabled = false; } } @@ -106,27 +106,27 @@ READ8_MEMBER( a2bus_softcard_device::dma_r ) { if (offset <= 0xafff) { - return slot_dma_read(space, offset+0x1000); + return slot_dma_read(offset+0x1000); } else if (offset <= 0xbfff) // LC bank 2 d000-dfff { - return slot_dma_read(space, (offset&0xfff) + 0xd000); + return slot_dma_read((offset&0xfff) + 0xd000); } else if (offset <= 0xcfff) // LC e000-efff { - return slot_dma_read(space, (offset&0xfff) + 0xe000); + return slot_dma_read((offset&0xfff) + 0xe000); } else if (offset <= 0xdfff) // LC f000-ffff (or ROM?) { - return slot_dma_read(space, (offset&0xfff) + 0xf000); + return slot_dma_read((offset&0xfff) + 0xf000); } else if (offset <= 0xefff) // I/O space c000-cfff { - return slot_dma_read(space, (offset&0xfff) + 0xc000); + return slot_dma_read((offset&0xfff) + 0xc000); } else // zero page { - return slot_dma_read(space, offset&0xfff); + return slot_dma_read(offset&0xfff); } } @@ -144,27 +144,27 @@ WRITE8_MEMBER( a2bus_softcard_device::dma_w ) { if (offset <= 0xafff) { - slot_dma_write(space, offset+0x1000, data); + slot_dma_write(offset+0x1000, data); } else if (offset <= 0xbfff) // LC bank 2 d000-dfff { - slot_dma_write(space, (offset&0xfff) + 0xd000, data); + slot_dma_write((offset&0xfff) + 0xd000, data); } else if (offset <= 0xcfff) // LC e000-efff { - slot_dma_write(space, (offset&0xfff) + 0xe000, data); + slot_dma_write((offset&0xfff) + 0xe000, data); } else if (offset <= 0xdfff) // LC f000-ffff (or ROM?) { - slot_dma_write(space, (offset&0xfff) + 0xf000, data); + slot_dma_write((offset&0xfff) + 0xf000, data); } else if (offset <= 0xefff) // I/O space c000-cfff { - slot_dma_write(space, (offset&0xfff) + 0xc000, data); + slot_dma_write((offset&0xfff) + 0xc000, data); } else // zero page { - slot_dma_write(space, offset&0xfff, data); + slot_dma_write(offset&0xfff, data); } } } |