Previous 199869 Revisions Next

r17503 Monday 27th August, 2012 at 14:50:43 UTC by Angelo Salese
Invert BIOSes (the default one was for Multi-carts), all games with a vaild security PROM now boots properly
[src/mame/drivers]nss.c
[src/mame/machine]snes.c

trunk/src/mame/machine/snes.c
r17502r17503
797797      case JOY3H:
798798      case JOY4L:
799799      case JOY4H:
800#ifdef MAME_DEBUG
800//#ifdef MAME_DEBUG
801801         logerror( "Write to read-only register: %X value: %X", offset, data );
802#endif /* MAME_DEBUG */
802//#endif /* MAME_DEBUG */
803803         return;
804804   }
805805
trunk/src/mame/drivers/nss.c
r17502r17503
55   driver by Angelo Salese, based off info from Noca$h
66
77   TODO:
8   - EEPROM defaults / fix EEPROM hook-up, all games but F-Zero doesn't
9     boot at current stage
108   - Fix sound CPU halt / reset lines, particularly needed by this to work
119     correctly;
1210   - Various M50458 bits
1311   - OSD should actually super-impose with the SNES video somehow;
1412
13   Notes:
14   - Multi-Cart BIOS works only with F-Zero, Super Tennis and Super Mario
15     World;
16
1517***************************************************************************
1618
1719Nintendo Super System Hardware Overview
r17502r17503
470472      data |= ((rp5h01_data_r(m_rp5h01, 0)) << 3) & 0x08;      /* D3 */
471473      rp5h01_enable_w(m_rp5h01, 0, 1);
472474   }
475   else
476      rp5h01_enable_w(m_rp5h01, 0, 1);
477
473478   return data;
474479}
475480
r17502r17503
483488      rp5h01_cs_w(m_rp5h01, 0, ~data & 0x01);
484489      rp5h01_enable_w(m_rp5h01, 0, 1);
485490   }
491   else
492      rp5h01_enable_w(m_rp5h01, 0, 1);
493
486494   ioport("EEPROMOUT")->write(data, 0xff);
487495}
488496
r17502r17503
858866   ROM_LOAD("spc700.rom", 0, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) \
859867   ROM_REGION(0x10000,           "addons", ROMREGION_ERASE00)      /* add-on chip ROMs (DSP1 will be needed if we dump the NSS version of Super Mario Kart)*/\
860868   ROM_LOAD( "dsp1b.bin", SNES_DSP1B_OFFSET, 0x002800, CRC(453557e0) SHA1(3a218b0e4572a8eba6d0121b17fdac9529609220) ) \
861   ROM_REGION(0x20000,         "bios",  0)      /* Bios CPU (what is it?) */ \
862   ROM_LOAD("nss-c.dat"  , 0x00000, 0x8000, CRC(a8e202b3) SHA1(b7afcfe4f5cf15df53452dc04be81929ced1efb2) )   /* bios */ \
863   ROM_LOAD("nss-ic14.02", 0x10000, 0x8000, CRC(e06cb58f) SHA1(62f507e91a2797919a78d627af53f029c7d81477) )   /* bios */ \
869   ROM_REGION(0x8000,         "bios",  0)      /* Bios CPU */ \
870   ROM_SYSTEM_BIOS( 0, "single", "Nintendo Super System (Single Cart BIOS)" ) \
871   ROMX_LOAD("nss-ic14.02", 0x00000, 0x8000, CRC(e06cb58f) SHA1(62f507e91a2797919a78d627af53f029c7d81477), ROM_BIOS(1) )   /* bios */ \
872   ROM_SYSTEM_BIOS( 1, "multi", "Nintendo Super System (Multi Cart BIOS)" ) \
873   ROMX_LOAD("nss-c.dat"  , 0x00000, 0x8000, CRC(a8e202b3) SHA1(b7afcfe4f5cf15df53452dc04be81929ced1efb2), ROM_BIOS(2) )   /* bios */ \
864874   ROM_REGION( 0x2000, "dspprg", ROMREGION_ERASEFF) \
865875   ROM_REGION( 0x800, "dspdata", ROMREGION_ERASEFF)
866876
r17502r17503
10511061   for(i=0;i<0x10;i++)
10521062      PROM[i] = BITSWAP8(PROM[i],0,1,2,3,4,5,6,7) ^ 0xff;
10531063
1064
10541065}
10551066
10561067GAME( 199?, nss,       0,     nss,      snes, snes_state,    snes,    ROT0, "Nintendo",                    "Nintendo Super System BIOS", GAME_IS_BIOS_ROOT )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team