mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
ondra: removed bank2 since it is just fixed ram
This commit is contained in:
parent
e339a280f4
commit
7c730c7be3
@ -35,7 +35,7 @@ ToDo:
|
||||
void ondra_state::mem_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x3fff).bankrw("bank1");
|
||||
map(0x4000, 0xdfff).bankrw("bank2");
|
||||
map(0x4000, 0xdfff).ram();
|
||||
map(0xe000, 0xffff).bankrw("bank3");
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,6 @@ public:
|
||||
, m_ram(*this, RAM_TAG)
|
||||
, m_rom(*this, "maincpu")
|
||||
, m_bank1(*this, "bank1")
|
||||
, m_bank2(*this, "bank2")
|
||||
, m_bank3(*this, "bank3")
|
||||
, m_beep(*this, "beeper")
|
||||
, m_io_keyboard(*this, "LINE%u", 0U)
|
||||
@ -58,7 +57,6 @@ private:
|
||||
required_device<ram_device> m_ram;
|
||||
required_memory_region m_rom;
|
||||
required_memory_bank m_bank1;
|
||||
required_memory_bank m_bank2;
|
||||
required_memory_bank m_bank3;
|
||||
required_device<beep_device> m_beep;
|
||||
required_ioport_array<10> m_io_keyboard;
|
||||
|
@ -118,7 +118,6 @@ void ondra_state::machine_reset()
|
||||
m_bank_status = 0;
|
||||
m_bank_old = 0xff;
|
||||
update_banks();
|
||||
m_bank2->set_base(m_ram->pointer() + 0x4000);
|
||||
}
|
||||
|
||||
void ondra_state::machine_start()
|
||||
|
Loading…
Reference in New Issue
Block a user