From 185c61161d86aec0c16d03bf8652e2cbb79a520c Mon Sep 17 00:00:00 2001 From: Lord-Nightmare Date: Thu, 10 May 2018 00:16:25 -0400 Subject: [PATCH] revert this, it isn't right, and make bootrom R the default until it gets fixed properly (nw) --- src/mame/drivers/sun2.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/sun2.cpp b/src/mame/drivers/sun2.cpp index e98c50a23e7..da75190b5af 100644 --- a/src/mame/drivers/sun2.cpp +++ b/src/mame/drivers/sun2.cpp @@ -311,14 +311,14 @@ READ16_MEMBER( sun2_state::tl_mmu_r ) { if ((tmp >= (0x7f0000>>1)) && (tmp <= (0x7f07ff>>1))) { - return m_rom_ptr[offset & 0x7fff]; + return m_rom_ptr[offset & 0x3fff]; } } else // Multibus has EPROM at 0x000000 { if (tmp <= (0x7ff>>1)) { - return m_rom_ptr[offset & 0x7fff]; + return m_rom_ptr[offset & 0x3fff]; } } @@ -757,6 +757,7 @@ MACHINE_CONFIG_END /* ROM definition */ ROM_START( sun2_120 ) // ROMs are located on the '501-1007' PCB at locations B11 and B10 ROM_REGION16_BE( 0x10000, "bootprom", ROMREGION_ERASEFF ) + ROM_DEFAULT_BIOS("revr") ROM_SYSTEM_BIOS( 0, "rev10f", "Bootrom Rev 1.0F") ROMX_LOAD( "1.0f.b11", 0x0000, 0x8000, CRC(8fb0050a) SHA1(399cdb894b2a66d847d76d8a5d266906fb1d3430), ROM_SKIP(1) | ROM_BIOS(1)) // actual rom stickers had fallen off ROMX_LOAD( "1.0f.b10", 0x0001, 0x8000, CRC(70de816d) SHA1(67e980497f463dbc529f64ec5f3e0046b3901b7e), ROM_SKIP(1) | ROM_BIOS(1)) // "