mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
addrmap: remove unsupported setter, emumem enforces unmapval 0 or ~0
This commit is contained in:
parent
b744e341ef
commit
b7eac7bf5e
@ -54,8 +54,8 @@ void o2_chess_device::chess_mem(address_map &map)
|
||||
|
||||
void o2_chess_device::chess_io(address_map &map)
|
||||
{
|
||||
map.global_mask(0x01);
|
||||
map(0x00, 0x01).r(m_latch[1], FUNC(generic_latch_8_device::read)).w(m_latch[0], FUNC(generic_latch_8_device::write));
|
||||
map.global_mask(0xff);
|
||||
map(0x00, 0x00).mirror(0xff).r(m_latch[1], FUNC(generic_latch_8_device::read)).w(m_latch[0], FUNC(generic_latch_8_device::write));
|
||||
}
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@ void hd641016_device::ram_map(address_map &map)
|
||||
|
||||
void hd641016_device::io_map(address_map &map)
|
||||
{
|
||||
map.unmap_value(0);
|
||||
map.unmap_value_low();
|
||||
//map(0x128, 0x129).rw(FUNC(hd641016_device::abr0_r), FUNC(hd641016_device::abr0_w));
|
||||
//map(0x12a, 0x12b).rw(FUNC(hd641016_device::arr0_r), FUNC(hd641016_device::arr0_w));
|
||||
//map(0x12c, 0x12d).rw(FUNC(hd641016_device::awcr0_r), FUNC(hd641016_device::awcr0_w));
|
||||
|
@ -483,7 +483,6 @@ public:
|
||||
void global_mask(offs_t mask);
|
||||
void unmap_value_low() { m_unmapval = 0; }
|
||||
void unmap_value_high() { m_unmapval = ~0; }
|
||||
void unmap_value(u8 value) { m_unmapval = value; }
|
||||
|
||||
// add a new entry of the given type
|
||||
address_map_entry &operator()(offs_t start, offs_t end);
|
||||
|
Loading…
Reference in New Issue
Block a user