Previous 15994 Revisions Next

r4716 Friday 15th May, 2009 at 20:15:38 UTC by Fabio Priuli
Added skeleton support for Sega 32X, Sega CD and Mega-CD to document BIOS info
[docs]messnew.txt
[src/mess]messdriv.c
[src/mess/drivers]genesis.c

src/mess/messdriv.c
r4715r4716
9393   DRIVER( pico )      /* 1994 Sega Pico (Europe)                     */
9494   DRIVER( picou )      /* 1994 Sega Pico (USA)                        */
9595   DRIVER( picoj )      /* 1993 Sega Pico (Japan)                     */
96   DRIVER( megacd )   /* 1993 Sega Mega-CD (Europe)                  */
97   DRIVER( megacdj )   /* 1991 Sega Mega-CD (Japan)                  */
98   DRIVER( segacd )   /* 1992 Sega Sega CD (USA)                     */
99   DRIVER( 32x )      /* 1994 Sega 32X (USA)                        */
100   DRIVER( 32x_scd )   /* 1994 Sega Sega CD (USA w/32X addon)            */
96101
97102   DRIVER( saturnjp )   /* 1994 Sega Saturn (Japan)                     */
98103   DRIVER( saturn )   /* 1995 Sega Saturn (USA)                     */
src/mess/drivers/genesis.c
r4715r4716
299299INPUT_PORTS_END
300300
301301
302static INPUT_PORTS_START( md_svp )
302/* MegaDrive inputs + Fake Region Selection */
303/* We need this as long as we only have the US version of the SVP add-on, otherwise we could not play
304   Non-US Virtua Racing versions. It is also handy to develop add-ons emulation without adding each
305   region variants, while they do not even work. Once emulation is working this must disappear.  */
306static INPUT_PORTS_START( md_sel )
303307   PORT_INCLUDE( md )
304308
305   /* We need this as long as we only have the US version of the SVP add-on,
306     otherwise we could not play Non-US Virtua Racing versions  */
307309   PORT_START("REGION")
308310   /* Region setting for Console */
309311   PORT_CONFNAME( 0x000f, 0x0000, DEF_STR( Region ) )
r4715r4716
316318
317319/*************************************
318320 *
319 *  machine driver
321 *  Machine driver
320322 *
321323 *************************************/
322324
r4715r4716
414416   DRIVER_INIT_CALL(mess_md_common);
415417}
416418
419/****************************************** SegaCD & 32X emulation ****************************************/
420
421/* Very preliminary skeleton code from David Haywood, borrowed for MESS by Fabio Priuli */
422/* These are only included to document BIOS informations currently available */
423
424static DRIVER_INIT( mess_32x )
425{
426   DRIVER_INIT_CALL(_32x);
427   DRIVER_INIT_CALL(mess_md_common);
428}
429
430ROM_START( 32x )
431   ROM_REGION16_BE( 0x400000, "gamecart", ROMREGION_ERASE00 ) /* 68000 Code */
432
433   ROM_REGION32_BE( 0x400000, "gamecart_sh2", 0 ) /* Copy for the SH2 */
434   ROM_COPY( "gamecart", 0x000000, 0x000000, 0x400000)
435
436   ROM_REGION16_BE( 0x400000, "32x_68k_bios", 0 ) /* 68000 Code */
437   ROM_LOAD( "32x_g_bios.bin", 0x000000,  0x000100, CRC(5c12eae8) SHA1(dbebd76a448447cb6e524ac3cb0fd19fc065d944) )
438
439   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
440   // temp, rom should only be visible here when one of the regs is set, tempo needs it
441   ROM_COPY( "gamecart", 0x0, 0x0, 0x400000)
442   ROM_COPY( "32x_68k_bios", 0x0, 0x0, 0x100)
443
444   ROM_REGION( 0x400000, "32x_master_sh2", 0 ) /* SH2 Code */
445   ROM_LOAD( "32x_m_bios.bin", 0x000000,  0x000800, CRC(dd9c46b8) SHA1(1e5b0b2441a4979b6966d942b20cc76c413b8c5e) )
446
447   ROM_REGION( 0x400000, "32x_slave_sh2", 0 ) /* SH2 Code */
448   ROM_LOAD( "32x_s_bios.bin", 0x000000,  0x000400, CRC(bfda1fe5) SHA1(4103668c1bbd66c5e24558e73d4f3f92061a109a) )
449ROM_END
450
451/* We need proper names for these BIOS ROMs! */
452ROM_START( megacd )
453   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
454   ROM_SYSTEM_BIOS(0, "v200w", "Model 2 v2.00W")   // confirmed good dump
455   ROMX_LOAD( "megacd_model2_bios_2_00w_e.bin", 0x000000,  0x020000, CRC(4d5cb8da) SHA1(f5f60f03501908962446ee02fc27d98694dd157d), ROM_BIOS(1) )
456   ROM_SYSTEM_BIOS(1, "v100", "Model 1 v1.00")      // confirmed good dump
457   ROMX_LOAD( "megacd_model1_bios_1_00_e.bin", 0x000000,  0x020000, CRC(529ac15a) SHA1(f891e0ea651e2232af0c5c4cb46a0cae2ee8f356), ROM_BIOS(2) )
458   ROM_SYSTEM_BIOS(2, "v200", "Model 2 v2.00")
459   ROMX_LOAD( "megacd_model2_bios_2_00_e.bin", 0x000000,  0x020000, CRC(0507b590) SHA1(7063192ae9f6b696c5b81bc8f0a9fe6f0c400e58), ROM_BIOS(3) )
460   ROM_SYSTEM_BIOS(3, "v221", "Multi-Mega v2.21")   // confirmed good dump
461   ROMX_LOAD( "multimega_bios_2_21_e.bin", 0x000000,  0x020000, CRC(34d3cce1) SHA1(73fc9c014ad803e9e7d8076b3642a8a5224b3e51), ROM_BIOS(4) )
462ROM_END
463
464ROM_START( megacdj )
465   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
466   ROM_SYSTEM_BIOS(0, "v200", "Model 2 v2.00")
467   ROMX_LOAD( "megacd_model2_bios_2_00_j.bin", 0x000000,  0x020000, CRC(f116793c) SHA1(dc68146ad1ff50faeeb2a3f685fab1a2961dabb2), ROM_BIOS(1) )
468   ROM_SYSTEM_BIOS(1, "v100p", "Model 1 v1.00P")
469   ROMX_LOAD( "megacd_model1_bios_1_00p_j.bin", 0x000000,  0x020000, CRC(9d2da8f2) SHA1(4846f448160059a7da0215a5df12ca160f26dd69), ROM_BIOS(2) )
470   ROM_SYSTEM_BIOS(2, "v100s", "Model 1 v1.00S")
471   ROMX_LOAD( "megacd_model1_bios_1_00s_j.bin", 0x000000,  0x020000, CRC(550f30bb) SHA1(e4193c6ae44c3cea002707d2a88f1fbcced664de), ROM_BIOS(3) )
472   ROM_SYSTEM_BIOS(3, "v102las", "Pioneer LaserActive v1.02")
473   ROMX_LOAD( "laseractive_bios_1_02_j.bin", 0x000000,  0x020000, CRC(00eedb3a) SHA1(26237b333db4a4c6770297fa5e655ea95840d5d9), ROM_BIOS(4) )
474   ROM_SYSTEM_BIOS(4, "xeye", "JVC X'eye")
475   ROMX_LOAD( "xeye_bios_j.bin", 0x000000,  0x020000, CRC(290f8e33) SHA1(651f14d5a5e0ecb974a60c0f43b1d2006323fb09), ROM_BIOS(5) )
476ROM_END
477
478ROM_START( segacd )
479   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
480   ROM_SYSTEM_BIOS(0, "v211", "Model 2 v2.11")
481   ROMX_LOAD( "segacd_model2_bios_2_11_u.bin", 0x000000,  0x020000, CRC(2e49d72c) SHA1(328a3228c29fba244b9db2055adc1ec4f7a87e6b), ROM_BIOS(1) )
482   ROM_SYSTEM_BIOS(1, "v110", "Model 1 v1.10")
483   ROMX_LOAD( "segacd_model1_bios_1_10_u.bin", 0x000000,  0x020000, CRC(c6d10268) SHA1(f4f315adcef9b8feb0364c21ab7f0eaf5457f3ed), ROM_BIOS(2) )
484   ROM_SYSTEM_BIOS(2, "v200", "Model 2 v2.00")
485   ROMX_LOAD( "segacd_model2_bios_2_00_u.bin", 0x000000,  0x020000, CRC(340b4be4) SHA1(bd3ee0c8ab732468748bf98953603ce772612704), ROM_BIOS(3) )
486   ROM_SYSTEM_BIOS(3, "v200w", "Model 2 v2.00W")
487   ROMX_LOAD( "segacd_model2_bios_2_00w_u.bin", 0x000000,  0x020000, CRC(9f6f6276) SHA1(5adb6c3af218c60868e6b723ec47e36bbdf5e6f0), ROM_BIOS(4) )
488   ROM_SYSTEM_BIOS(4, "v102las", "Pioneer LaserActive v1.02")
489   ROMX_LOAD( "laseractive_bios_1_02_u.bin", 0x000000,  0x020000, CRC(3b10cf41) SHA1(8af162223bb12fc19b414f126022910372790103), ROM_BIOS(5) )
490   ROM_SYSTEM_BIOS(5, "v221", "CDX v2.21")
491   ROMX_LOAD( "segacdx_bios_2_21_u.bin", 0x000000,  0x020000, CRC(d48c44b5) SHA1(2b125c0545afa089b617f2558e686ea723bdc06e), ROM_BIOS(6) )
492ROM_END
493
494/* some games use the 32x and SegaCD together to give better quality FMV */
495ROM_START( 32x_scd )
496   ROM_REGION16_BE( 0x400000, "maincpu", ROMREGION_ERASE00 )
497
498   ROM_REGION16_BE( 0x400000, "gamecart", 0 ) /* 68000 Code */
499   ROM_LOAD( "segacd_model2_bios_2_11_u.bin", 0x000000,  0x020000, CRC(2e49d72c) SHA1(328a3228c29fba244b9db2055adc1ec4f7a87e6b) )
500
501   ROM_REGION32_BE( 0x400000, "gamecart_sh2", 0 ) /* Copy for the SH2 */
502   ROM_COPY( "gamecart", 0x0, 0x0, 0x400000)
503
504   ROM_REGION16_BE( 0x400000, "32x_68k_bios", 0 ) /* 68000 Code */
505   ROM_LOAD( "32x_g_bios.bin", 0x000000,  0x000100, CRC(5c12eae8) SHA1(dbebd76a448447cb6e524ac3cb0fd19fc065d944) )
506
507   ROM_REGION( 0x400000, "32x_master_sh2", 0 ) /* SH2 Code */
508   ROM_LOAD( "32x_m_bios.bin", 0x000000,  0x000800, CRC(dd9c46b8) SHA1(1e5b0b2441a4979b6966d942b20cc76c413b8c5e) )
509
510   ROM_REGION( 0x400000, "32x_slave_sh2", 0 ) /* SH2 Code */
511   ROM_LOAD( "32x_s_bios.bin", 0x000000,  0x000400, CRC(bfda1fe5) SHA1(4103668c1bbd66c5e24558e73d4f3f92061a109a) )
512ROM_END
513
514
417515/****************************************** PICO emulation ****************************************/
418516
419517/*
r4715r4716
46556380001d  byte  Games write 'G'
46656480001f  byte  Games write 'A'
467565
566
567TODO: MAME/hazeMD code should allow to handle VDP without the z80 (Pico has no z80 CPU).
568  Currently, this is not possible, so we leave the z80 there, even if not used.
569
468570*/
469571
470572#define PICO_PENX   1
r4715r4716
645747
646748***************************************************************************/
647749
648/*    YEAR  NAME      PARENT      COMPAT  MACHINE         INPUT     INIT        CONFIG      COMPANY   FULLNAME */
649CONS( 1989, genesis,   0,         0,      ms_megadriv,  md,      genesis,   0,      "Sega",   "Genesis (USA, NTSC)", 0)
650CONS( 1993, gensvp,      genesis,   0,      ms_megdsvp,   md_svp,   gensvp,      0,      "Sega",   "Genesis (USA, NTSC, w/SVP)", 0)
651CONS( 1990, megadriv,   genesis,   0,      ms_megadriv,  md,      md_eur,      0,      "Sega",   "Mega Drive (Europe, PAL)", 0)
652CONS( 1988, megadrij,   genesis,   0,      ms_megadriv,  md,      md_jpn,      0,      "Sega",   "Mega Drive (Japan, NTSC)", 0)
653CONS( 1994, pico,      0,         0,      pico,         pico,      md_eur,      0,      "Sega",   "Pico (Europe, PAL)", 0)
654CONS( 1994, picou,      pico,      0,      pico,         pico,      genesis,   0,      "Sega",   "Pico (USA, NTSC)", 0)
655CONS( 1993, picoj,      pico,      0,      pico,         pico,      md_jpn,      0,      "Sega",   "Pico (Japan, NTSC)", 0)
750/*    YEAR  NAME        PARENT     COMPAT  MACHINE          INPUT   INIT     CONFIG COMPANY   FULLNAME */
751CONS( 1989, genesis,    0,         0,      ms_megadriv,     md,     genesis,   0,   "Sega",   "Genesis (USA, NTSC)", 0)
752CONS( 1993, gensvp,     genesis,   0,      ms_megdsvp,      md_sel, gensvp,    0,   "Sega",   "Genesis (USA, NTSC, w/SVP)", 0)
753CONS( 1990, megadriv,   genesis,   0,      ms_megadriv,     md,     md_eur,    0,   "Sega",   "Mega Drive (Europe, PAL)", 0)
754CONS( 1988, megadrij,   genesis,   0,      ms_megadriv,     md,     md_jpn,    0,   "Sega",   "Mega Drive (Japan, NTSC)", 0)
755CONS( 1994, pico,       0,         0,      pico,            pico,   md_eur,    0,   "Sega",   "Pico (Europe, PAL)", 0)
756CONS( 1994, picou,      pico,      0,      pico,            pico,   genesis,   0,   "Sega",   "Pico (USA, NTSC)", 0)
757CONS( 1993, picoj,      pico,      0,      pico,            pico,   md_jpn,    0,   "Sega",   "Pico (Japan, NTSC)", 0)
758
759/* Not Working */
760CONS( 1994, 32x,        0,         0,      genesis_32x,     md_sel, mess_32x,  0,   "Sega",   "32X", GAME_NOT_WORKING )
761CONS( 1993, megacd,     0,         0,      genesis_scd,     md,     md_eur,    0,   "Sega",   "Mega-CD (Europe, PAL)", GAME_NOT_WORKING )
762CONS( 1991, megacdj,    megacd,    0,      genesis_scd,     md,     md_jpn,    0,   "Sega",   "Mega-CD (Japan, NTSC)", GAME_NOT_WORKING )
763CONS( 1992, segacd,     megacd,    0,      genesis_scd,     md,     genesis,   0,   "Sega",   "Sega CD (USA, NTSC)", GAME_NOT_WORKING )
764CONS( 1994, 32x_scd,    megacd,    0,      genesis_32x_scd, md_sel, mess_32x,  0,   "Sega",   "Sega CD (USA, NTSC, w/32X)", GAME_NOT_WORKING )
docs/messnew.txt
r4715r4716
10.131.1
10.131.1
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
5- Amiga 1200 NTSC & PAL (not working)  [incog nito, Fabio Priuli]
5- Amiga 1200 NTSC & PAL (not working)  [incog nito, Dirk Best, Fabio Priuli]
66- Amiga CD32 (not working)  [incog nito, Fabio Priuli]
77- CD-I (not working)  [incog nito]
88- NTS DreamWriter T200 (not working)  [Roberto Carlos
r4715r4716
6464- Camputers Lynx 48
6565- Camputers Lynx 96
6666- Camputers Lynx 128
67- Sega 32X
68- Sega Mega-CD
69- Sega CD
6770
6871
6972System Driver Changes:

Previous 15994 Revisions Next


© 1998-2018 The MESS Team