From cc45dfe9cb7b5fe147310016ea2108517ded2cb5 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Wed, 10 Feb 2021 19:20:18 +0100 Subject: seattle.cpp: updated wg3dh and blitz to use the bios system. Set blitz11 has been removed since it was identical to set blitz and created only to load the different bios version. --- src/mame/drivers/seattle.cpp | 55 +++++++++++++++++++++----------------------- src/mame/mame.lst | 1 - 2 files changed, 26 insertions(+), 30 deletions(-) diff --git a/src/mame/drivers/seattle.cpp b/src/mame/drivers/seattle.cpp index 515b775da4d..887fead49fa 100644 --- a/src/mame/drivers/seattle.cpp +++ b/src/mame/drivers/seattle.cpp @@ -34,7 +34,7 @@ * Galileo GT64010 system controller * National Semiconductor PC87415 IDE controller * 3dfx FBI with 2MB frame buffer - * 3dfx TMU with 4MB txture memory + * 3dfx TMU with 4MB texture memory * Midway I/O ASIC * 4MB DRAM for main CPU * 512KB boot ROM @@ -48,7 +48,7 @@ * Galileo GT64010 system controller * National Semiconductor PC87415 IDE controller * 3dfx FBI with 2MB frame buffer - * 3dfx TMU with 4MB txture memory + * 3dfx TMU with 4MB texture memory * Midway I/O ASIC * 8MB DRAM for main CPU * 512KB boot ROM @@ -64,7 +64,7 @@ * SMC91C94 ethernet controller * ADC0848 8 x A-to-D converters * 3dfx FBI with 2MB frame buffer - * 2 x 3dfx TMU with 4MB txture memory + * 2 x 3dfx TMU with 4MB texture memory * Midway I/O ASIC * 8MB DRAM for main CPU * 512KB boot ROM @@ -89,7 +89,7 @@ 1x ADSP-2115 1x Midway security PIC Blitz 99 25" 481xxxxxx (U96) 1x mid sized QFP (Galileo?) has heatsink (u86) - 1x mid sized QFP (PixelFX?) heakstink (u17) + 1x mid sized QFP (PixelFX?) heatsink (u17) 1x mid sized QFP, smaller (TexelFX?) heatsink (u87) 12x v53c16258hk40 256Kx16 RAM (near Voodoo section) 1x PC87415VCG IDE controller @@ -714,7 +714,7 @@ void seattle_state::analog_port_w(uint32_t data) // Declare calibration finished as soon as a SYSTEM button is hit if (!m_wheel_calibrated && ((~m_io_system->read()) & 0xffff)) { m_wheel_calibrated = true; - //osd_printf_info("wheel calibration comlete wheel: %02x\n", currValue); + //osd_printf_info("wheel calibration complete wheel: %02x\n", currValue); } } @@ -2279,9 +2279,16 @@ void seattle_state::hyprdriv(machine_config &config) * *************************************/ +#define WG3DH_BIOS \ + ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) \ + ROM_DEFAULT_BIOS("bios0") \ + ROM_SYSTEM_BIOS( 0, "bios0", "Boot Code L1.2" ) \ + ROMX_LOAD( "l1.2_gretzky_video_system_boot_u32.u32", 0x000000, 0x80000, CRC(15e4cea2) SHA1(72c0db7dc53ce645ba27a5311b5ce803ad39f131), ROM_BIOS(0) ) /* Boot Code Version L1.2 (Oct 8 1996 12:55:39 @ 0x5CDE0 in ROM) */\ + ROM_SYSTEM_BIOS( 1, "bios1", "Boot Code L0.1?" ) \ + ROMX_LOAD( "l0.1_gretzky_video_system_boot_u32.u32", 0x000000, 0x80000, CRC(80fb6dfd) SHA1(b78d1c8abdb875196c5cd9afc986f54865a90aba), ROM_BIOS(1) ) // Boot Code Version ? (Aug 13 1996 16:59:47 @ 0x599D0 in ROM) + ROM_START( wg3dh ) - ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) // Boot Code Version L1.2 (Oct 8 1996 12:55:39 @ 0x5CDE0 in ROM) - ROM_LOAD( "l1.2_gretzky_video_system_boot_u32.u32", 0x000000, 0x80000, CRC(15e4cea2) SHA1(72c0db7dc53ce645ba27a5311b5ce803ad39f131) ) + WG3DH_BIOS ROM_REGION32_LE( 0x100000, PCI_ID_GALILEO":update", ROMREGION_ERASEFF ) @@ -2290,16 +2297,15 @@ ROM_START( wg3dh ) ROM_REGION16_LE( 0x10000, "dcs", 0 ) // ADSP-2115 data Version L1.1 ROM_LOAD16_BYTE( "l1.1_gretzky_video_system_boot_u95.u95", 0x000000, 0x8000, CRC(c589458c) SHA1(0cf970a35910a74cdcf3bd8119bfc0c693e19b00) ) -ROM_END +ROM_END ROM_START( wg3dhfe ) // Original PCB board with PIC security chip labeled as 310 Gretzky Hockey U96 *310300003* (IE: serial number 00003) - ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) // Boot Code Version ? (Aug 13 1996 16:59:47 @ 0x599D0 in ROM) - ROM_LOAD( "l0.1_gretzky_video_system_boot_u32.u32", 0x000000, 0x80000, CRC(80fb6dfd) SHA1(b78d1c8abdb875196c5cd9afc986f54865a90aba) ) // labeled as L0.1 + WG3DH_BIOS ROM_REGION32_LE( 0x100000, PCI_ID_GALILEO":update", ROMREGION_ERASEFF ) - // Disk caddy stickered: 3DHOCKEY FALALITY EDITION, another sticker stated: PHX-HDsisk -0006 <-- Yes, it's "HDsisk" and not HDisk + // Disk caddy stickered: 3DHOCKEY FATALITY EDITION, another sticker stated: PHX-HDsisk -0006 <-- Yes, it's "HDsisk" and not HDisk DISK_REGION( PCI_ID_IDE":ide:0:hdd:image" ) // Hard Drive Version ? (Guts: Feb 4 1997 17:08:22, Main: Mar 21 1997 12:15:39) DISK_IMAGE( "wg3dhfe", 0, SHA1(49b72e7e76036b119bfc8b9a0ef8b9acd346d0be) ) // ST94420AG hard drive @@ -2537,6 +2543,13 @@ ROM_START( biofreak ) DISK_IMAGE( "biofreak", 0, SHA1(711241642f92ded8eaf20c418ea748989183fe10) ) ROM_END +#define BLITZ_BIOS \ + ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) \ + ROM_DEFAULT_BIOS("bios0") \ + ROM_SYSTEM_BIOS( 0, "bios0", "Boot Code L1.2" ) \ + ROMX_LOAD( "blitz1_2.u32", 0x000000, 0x80000, CRC(38dbecf5) SHA1(7dd5a5b3baf83a7f8f877ff4cd3f5e8b5201b36f), ROM_BIOS(0) ) \ + ROM_SYSTEM_BIOS( 1, "bios1", "Boot Code L1.1" ) \ + ROMX_LOAD( "blitz1_1.u32", 0x000000, 0x80000, CRC(8163ce02) SHA1(89b432d8879052f6c5534ee49599f667f50a010f), ROM_BIOS(1) ) ROM_START( blitz ) ROM_REGION16_LE( 0x10000, "dcs", 0 ) // ADSP-2115 data Version 1.02 @@ -2544,22 +2557,7 @@ ROM_START( blitz ) ROM_REGION32_LE( 0x100000, PCI_ID_GALILEO":update", ROMREGION_ERASEFF ) - ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) // Boot Code Version 1.2 - ROM_LOAD( "blitz1_2.u32", 0x000000, 0x80000, CRC(38dbecf5) SHA1(7dd5a5b3baf83a7f8f877ff4cd3f5e8b5201b36f) ) - - DISK_REGION( PCI_ID_IDE":ide:0:hdd:image" ) // Hard Drive Version 1.21 - DISK_IMAGE( "blitz", 0, SHA1(9131c7888e89b3c172780156ed3fe1fe46f78b0a) ) -ROM_END - - -ROM_START( blitz11 ) - ROM_REGION16_LE( 0x10000, "dcs", 0 ) // ADSP-2115 data Version 1.02 - ROM_LOAD16_BYTE( "sound102.u95", 0x000000, 0x8000, CRC(bec7d3ae) SHA1(db80aa4a645804a4574b07b9f34dec6b6b64190d) ) - - ROM_REGION32_LE( 0x100000, PCI_ID_GALILEO":update", ROMREGION_ERASEFF ) - - ROM_REGION32_LE( 0x80000, PCI_ID_GALILEO":rom", 0 ) // Boot Code Version 1.1 - ROM_LOAD( "blitz1_1.u32", 0x000000, 0x80000, CRC(8163ce02) SHA1(89b432d8879052f6c5534ee49599f667f50a010f) ) + BLITZ_BIOS DISK_REGION( PCI_ID_IDE":ide:0:hdd:image" ) // Hard Drive Version 1.21 DISK_IMAGE( "blitz", 0, SHA1(9131c7888e89b3c172780156ed3fe1fe46f78b0a) ) @@ -2865,8 +2863,7 @@ GAMEL( 1998, vaportrxp, vaportrx, vaportrx, vaportrx, seattle_state, init_vapo // Midway GAME( 1997, biofreak, 0, biofreak, biofreak, seattle_state, init_biofreak, ROT0, "Midway Games", "Bio F.R.E.A.K.S (prototype, boot ROM 0.1i)", MACHINE_SUPPORTS_SAVE ) -GAME( 1997, blitz, 0, blitz, blitz, seattle_state, init_blitz, ROT0, "Midway Games", "NFL Blitz (boot ROM 1.2)", MACHINE_SUPPORTS_SAVE ) -GAME( 1997, blitz11, blitz, blitz, blitz, seattle_state, init_blitz, ROT0, "Midway Games", "NFL Blitz (boot ROM 1.1)", MACHINE_SUPPORTS_SAVE ) +GAME( 1997, blitz, 0, blitz, blitz, seattle_state, init_blitz, ROT0, "Midway Games", "NFL Blitz (ver 1.21, Dec 5 1987)", MACHINE_SUPPORTS_SAVE ) GAME( 1998, blitz99, 0, blitz99, blitz99, seattle_state, init_blitz99, ROT0, "Midway Games", "NFL Blitz '99 (ver 1.30, Sep 22 1998)", MACHINE_SUPPORTS_SAVE ) GAME( 1998, blitz99a, blitz99, blitz99, blitz99, seattle_state, init_blitz99, ROT0, "Midway Games", "NFL Blitz '99 (ver 1.2, Aug 28 1998)", MACHINE_SUPPORTS_SAVE ) GAME( 1999, blitz2k, 0, blitz2k, blitz99, seattle_state, init_blitz2k, ROT0, "Midway Games", "NFL Blitz 2000 Gold Edition (ver 1.2, Sep 22 1999)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 65daf8365ec..eb6168354c8 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -36660,7 +36660,6 @@ snowbwar // (c) 201? Sealy @source:seattle.cpp biofreak // (c) 1997 Midway Games (prototype) blitz // (c) 1997 Midway Games -blitz11 // (c) 1997 Midway Games blitz2k // (c) 1999 Midway Games blitz99 // (c) 1998 Midway Games blitz99a // (c) 1998 Midway Games -- cgit v1.2.3