trunk/src/mame/drivers/nss.c
r17502 | r17503 | |
5 | 5 | driver by Angelo Salese, based off info from Noca$h |
6 | 6 | |
7 | 7 | TODO: |
8 | | - EEPROM defaults / fix EEPROM hook-up, all games but F-Zero doesn't |
9 | | boot at current stage |
10 | 8 | - Fix sound CPU halt / reset lines, particularly needed by this to work |
11 | 9 | correctly; |
12 | 10 | - Various M50458 bits |
13 | 11 | - OSD should actually super-impose with the SNES video somehow; |
14 | 12 | |
| 13 | Notes: |
| 14 | - Multi-Cart BIOS works only with F-Zero, Super Tennis and Super Mario |
| 15 | World; |
| 16 | |
15 | 17 | *************************************************************************** |
16 | 18 | |
17 | 19 | Nintendo Super System Hardware Overview |
r17502 | r17503 | |
470 | 472 | data |= ((rp5h01_data_r(m_rp5h01, 0)) << 3) & 0x08; /* D3 */ |
471 | 473 | rp5h01_enable_w(m_rp5h01, 0, 1); |
472 | 474 | } |
| 475 | else |
| 476 | rp5h01_enable_w(m_rp5h01, 0, 1); |
| 477 | |
473 | 478 | return data; |
474 | 479 | } |
475 | 480 | |
r17502 | r17503 | |
483 | 488 | rp5h01_cs_w(m_rp5h01, 0, ~data & 0x01); |
484 | 489 | rp5h01_enable_w(m_rp5h01, 0, 1); |
485 | 490 | } |
| 491 | else |
| 492 | rp5h01_enable_w(m_rp5h01, 0, 1); |
| 493 | |
486 | 494 | ioport("EEPROMOUT")->write(data, 0xff); |
487 | 495 | } |
488 | 496 | |
r17502 | r17503 | |
858 | 866 | ROM_LOAD("spc700.rom", 0, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) \ |
859 | 867 | ROM_REGION(0x10000, "addons", ROMREGION_ERASE00) /* add-on chip ROMs (DSP1 will be needed if we dump the NSS version of Super Mario Kart)*/\ |
860 | 868 | 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 */ \ |
864 | 874 | ROM_REGION( 0x2000, "dspprg", ROMREGION_ERASEFF) \ |
865 | 875 | ROM_REGION( 0x800, "dspdata", ROMREGION_ERASEFF) |
866 | 876 | |
r17502 | r17503 | |
1051 | 1061 | for(i=0;i<0x10;i++) |
1052 | 1062 | PROM[i] = BITSWAP8(PROM[i],0,1,2,3,4,5,6,7) ^ 0xff; |
1053 | 1063 | |
| 1064 | |
1054 | 1065 | } |
1055 | 1066 | |
1056 | 1067 | GAME( 199?, nss, 0, nss, snes, snes_state, snes, ROT0, "Nintendo", "Nintendo Super System BIOS", GAME_IS_BIOS_ROOT ) |