diff options
Diffstat (limited to 'src/devices/video/ef9365.cpp')
-rw-r--r-- | src/devices/video/ef9365.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/video/ef9365.cpp b/src/devices/video/ef9365.cpp index 5023348c99e..5abc7d2dde8 100644 --- a/src/devices/video/ef9365.cpp +++ b/src/devices/video/ef9365.cpp @@ -168,7 +168,8 @@ const tiny_rom_entry *ef9365_device::device_rom_region() const //------------------------------------------------- void ef9365_device::ef9365(address_map &map) { - map(0x00000, ef9365_device::BITPLANE_MAX_SIZE * ef9365_device::MAX_BITPLANES - 1).ram(); + if (!has_configured_map(0)) + map(0x00000, ef9365_device::BITPLANE_MAX_SIZE * ef9365_device::MAX_BITPLANES - 1).ram(); } //------------------------------------------------- @@ -200,7 +201,7 @@ ef9365_device::ef9365_device(const machine_config &mconfig, const char *tag, dev device_t(mconfig, EF9365, tag, owner, clock), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), - m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, address_map_constructor(), address_map_constructor(FUNC(ef9365_device::ef9365), this)), + m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, address_map_constructor(FUNC(ef9365_device::ef9365), this)), m_charset(*this, "ef9365"), m_palette(*this, finder_base::DUMMY_TAG), m_irq_handler(*this) @@ -1224,7 +1225,7 @@ void ef9365_device::update_scanline(uint16_t scanline) // data_r: Registers read access callback //------------------------------------------------- -READ8_MEMBER( ef9365_device::data_r ) +uint8_t ef9365_device::data_r(offs_t offset) { unsigned char return_value; @@ -1315,7 +1316,7 @@ READ8_MEMBER( ef9365_device::data_r ) // data_w: Registers write access callback //------------------------------------------------- -WRITE8_MEMBER( ef9365_device::data_w ) +void ef9365_device::data_w(offs_t offset, uint8_t data) { LOG("EF9365 [ %s ] <WR [ 0x%.2X ] - %s\n", register_names[offset&0xF],data, machine().describe_context() ); |