Previous 199869 Revisions Next

r32081 Friday 12th September, 2014 at 12:11:00 UTC by Fabio Priuli
fixed famitwin bios usage. nw.
[src/mess/drivers]nes.c

trunk/src/mess/drivers/nes.c
r32080r32081
794794
795795   // if there is no cart inserted, setup the disk expansion instead
796796   if (!m_cartslot->m_cart)
797   {
797798      setup_disk(m_cartslot2);
799     
800      // replace the famicom disk ROM with the famicom twin one (until we modernize the floppy drive)
801      m_maincpu->space(AS_PROGRAM).install_read_bank(0xe000, 0xffff, "ftbios");
802      membank("ftbios")->set_base(machine().root_device().memregion("maincpu")->base() + 0xe000);
803   }
798804}
799805
800806MACHINE_RESET_MEMBER( nes_state, famitwin )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team