Previous 199869 Revisions Next

r33146 Sunday 2nd November, 2014 at 18:54:03 UTC by Carl
(mess) pc9801: don't install memory above 640K if it doesn't exist (nw)
[src/mess/drivers]pc9801.c

trunk/src/mess/drivers/pc9801.c
r241657r241658
33493349   {
33503350      address_space& space = m_maincpu->space(AS_PROGRAM);
33513351      membank("wram")->set_base(m_ram->pointer());
3352      space.install_read_bank(0x100000,  0x100000 + m_ram_size - 1, "ext_wram");
3353      space.install_write_bank(0x100000,  0x100000 + m_ram_size - 1, "ext_wram");
3354      membank("ext_wram")->set_base(m_ram->pointer() + 0xa0000);
3352      if(m_ram_size)
3353      {
3354         space.install_read_bank(0x100000,  0x100000 + m_ram_size - 1, "ext_wram");
3355         space.install_write_bank(0x100000,  0x100000 + m_ram_size - 1, "ext_wram");
3356         membank("ext_wram")->set_base(m_ram->pointer() + 0xa0000);
3357      }
33553358   }
33563359
33573360   m_ide_rom = memregion("ide")->base();


Previous 199869 Revisions Next


© 1997-2024 The MAME Team