diff options
Diffstat (limited to 'src/devices/bus/bml3/bml3mp1802.cpp')
-rw-r--r-- | src/devices/bus/bml3/bml3mp1802.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/bml3/bml3mp1802.cpp b/src/devices/bus/bml3/bml3mp1802.cpp index 22c84884f68..bd6da666c3a 100644 --- a/src/devices/bus/bml3/bml3mp1802.cpp +++ b/src/devices/bus/bml3/bml3mp1802.cpp @@ -76,12 +76,12 @@ const tiny_rom_entry *bml3bus_mp1802_device::device_rom_region() const return ROM_NAME( mp1802 ); } -READ8_MEMBER( bml3bus_mp1802_device::bml3_mp1802_r) +uint8_t bml3bus_mp1802_device::bml3_mp1802_r() { return m_fdc->drq_r() ? 0x00 : 0x80; } -WRITE8_MEMBER( bml3bus_mp1802_device::bml3_mp1802_w) +void bml3bus_mp1802_device::bml3_mp1802_w(uint8_t data) { floppy_image_device *floppy = nullptr; @@ -130,7 +130,7 @@ void bml3bus_mp1802_device::device_start() // install into memory address_space &space_prg = space(); space_prg.install_readwrite_handler(0xff00, 0xff03, read8sm_delegate(*m_fdc, FUNC(mb8866_device::read)), write8sm_delegate(*m_fdc, FUNC(mb8866_device::write))); - space_prg.install_readwrite_handler(0xff04, 0xff04, read8_delegate(*this, FUNC(bml3bus_mp1802_device::bml3_mp1802_r)), write8_delegate(*this, FUNC(bml3bus_mp1802_device::bml3_mp1802_w))); + space_prg.install_readwrite_handler(0xff04, 0xff04, read8smo_delegate(*this, FUNC(bml3bus_mp1802_device::bml3_mp1802_r)), write8smo_delegate(*this, FUNC(bml3bus_mp1802_device::bml3_mp1802_w))); // overwriting the main ROM (rather than using e.g. install_rom) should mean that bank switches for RAM expansion still work... uint8_t *mainrom = device().machine().root_device().memregion("maincpu")->base(); memcpy(mainrom + 0xf800, m_rom + 0xf800, 0x800); |