trunk/src/mame/machine/pgmprot_igs027a_type3.c
r32818 | r32819 | |
162 | 162 | if (!strcmp(machine().system().name, "happy6101")) base = 0x3586; |
163 | 163 | if (!strcmp(machine().system().name, "svgpcb")) base = 0x3a8e; |
164 | 164 | if (!strcmp(machine().system().name, "svg")) base = 0x3c3e; |
| 165 | if (!strcmp(machine().system().name, "svgtw")) base = 0x3a8e; |
165 | 166 | |
166 | 167 | if (base != -1) |
167 | 168 | { |
r32818 | r32819 | |
611 | 612 | PORT_CONFSETTING( 0x00ff, "Don't Change" ) // don't hack the region |
612 | 613 | INPUT_PORTS_END |
613 | 614 | |
| 615 | INPUT_PORTS_START( svgtw ) |
| 616 | PORT_INCLUDE ( pgm ) |
| 617 | |
| 618 | PORT_START("RegionHack") /* Region - actually supplied by protection device */ |
| 619 | PORT_CONFNAME( 0x00ff, 0x0001, DEF_STR( Region ) ) |
| 620 | PORT_CONFSETTING( 0x0000, DEF_STR( China ) ) |
| 621 | PORT_CONFSETTING( 0x0001, DEF_STR( Taiwan ) ) |
| 622 | PORT_CONFSETTING( 0x0002, DEF_STR( Japan ) ) |
| 623 | PORT_CONFSETTING( 0x0003, DEF_STR( Korea ) ) |
| 624 | PORT_CONFSETTING( 0x0004, DEF_STR( Hong_Kong ) ) |
| 625 | PORT_CONFSETTING( 0x0005, "Spanish Territories" ) |
| 626 | PORT_CONFSETTING( 0x0006, DEF_STR( World ) ) |
| 627 | PORT_CONFSETTING( 0x00ff, "Don't Change" ) // don't hack the region |
| 628 | INPUT_PORTS_END |
| 629 | |
614 | 630 | DRIVER_INIT_MEMBER(pgm_arm_type3_state,svg) |
615 | 631 | { |
616 | 632 | svg_basic_init(); |
trunk/src/mame/drivers/pgm.c
r32818 | r32819 | |
3698 | 3698 | ROM_LOAD( "w05602b032.bin", 0xc00000, 0x400000, CRC(0685166d) SHA1(64dac49abd2a46d5fb58c678027aa5e23d672dc4) ) |
3699 | 3699 | ROM_END |
3700 | 3700 | |
| 3701 | ROM_START( svgtw ) |
| 3702 | ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */ |
| 3703 | PGM_68K_BIOS |
| 3704 | ROM_LOAD16_WORD_SWAP( "v101tw.U30", 0x100000, 0x080000, CRC(8d0405e4) SHA1(b6175c9ffeaac531d28e7845cb34c673476e286a) ) |
3701 | 3705 | |
| 3706 | ROM_REGION( 0x4000, "prot", 0 ) /* ARM protection ASIC - internal rom */ // marked H1 |
| 3707 | ROM_LOAD( "svgpcb_igs027a_execute_only_area", 0x0000, 0x00188, NO_DUMP ) |
| 3708 | ROM_LOAD( "svgcpb_igs027a_v100_japan.bin", 0x0188, 0x3e78, CRC(7a59da5d) SHA1(d67ba465db40ca716b4b901b1c8e762716fb954e) ) // this is from the Japan set, the cart this came from was Taiwan |
| 3709 | |
| 3710 | ROM_REGION( 0x800000, "user1", 0 ) /* Protection Data (encrypted external ARM data) */ |
| 3711 | ROM_LOAD( "v101tw.u26", 0x000000, 0x400000, CRC(cc24f542) SHA1(623ed398d2eeea229833d92eb4fb6492133202b3) ) |
| 3712 | ROM_LOAD( "v101tw.u36", 0x400000, 0x400000, CRC(f18283e2) SHA1(15323c5f816a0bf6f510311eb49d485ccf713cf7) ) |
| 3713 | |
| 3714 | ROM_REGION( 0xc00000, "tiles", 0 ) /* 8x8 Text Tiles + 32x32 BG Tiles */ |
| 3715 | PGM_VIDEO_BIOS |
| 3716 | ROM_LOAD( "t05601w016.bin",0x180000, 0x200000, CRC(03e110dc) SHA1(41c8f286e9303b24ba6235b341371c298226fb6a) ) |
| 3717 | |
| 3718 | ROM_REGION( 0x1c00000, "sprcol", 0 ) /* Sprite Colour Data */ |
| 3719 | ROM_LOAD( "a05601w064.bin", 0x0000000, 0x0800000, CRC(ea6453e4) SHA1(b5c82edafa8008ad59b5f2219511947d078d446e) ) |
| 3720 | ROM_LOAD( "a05602w064.bin", 0x0800000, 0x0800000, CRC(6d00621b) SHA1(55a4bc357e14b975b0234a9cd49e2224f509dad9) ) |
| 3721 | ROM_LOAD( "a05603w064.bin", 0x1000000, 0x0800000, CRC(7b71c64f) SHA1(bec7c7edf0634cf8351a54abb867c56af08ad2c3) ) |
| 3722 | ROM_LOAD( "a05604w032.bin", 0x1800000, 0x0400000, CRC(9452a567) SHA1(01fdb8e1f131603843ef4c49ab76d7a56b2d6414) ) |
| 3723 | |
| 3724 | ROM_REGION( 0x1000000, "sprmask", 0 ) /* Sprite Masks + Colour Indexes */ |
| 3725 | ROM_LOAD( "b05601w064.bin", 0x0000000, 0x0800000, CRC(35c0a489) SHA1(a7d5527da01f8eaa7499fb6785b57094521bce97) ) |
| 3726 | ROM_LOAD( "b05602w064.bin", 0x0800000, 0x0800000, CRC(8aad3f85) SHA1(da6996d901d42b3a2ba7019ad014bb938a5e328b) ) |
| 3727 | |
| 3728 | ROM_REGION( 0x1000000, "ics", 0 ) /* Samples - (8 bit mono 11025Hz) - */ |
| 3729 | PGM_AUDIO_BIOS |
| 3730 | ROM_LOAD( "w05601b064.bin", 0x400000, 0x800000, CRC(bfe61a71) SHA1(e682ca8d57ca51c4d72f64fc091161f3dbdce871) ) |
| 3731 | ROM_LOAD( "w05602b032.bin", 0xc00000, 0x400000, CRC(0685166d) SHA1(64dac49abd2a46d5fb58c678027aa5e23d672dc4) ) |
| 3732 | ROM_END |
| 3733 | |
| 3734 | |
3702 | 3735 | ROM_START( svgpcb ) |
3703 | 3736 | ROM_REGION( 0x600000, "maincpu", 0 ) /* 68000 Code */ |
3704 | 3737 | ROM_LOAD16_WORD_SWAP( "svg_bios.u49", 0x000000, 0x020000, CRC(3346401f) SHA1(28bd730b6026c1e521c95072d33c7bdcd19c1460) ) |
r32818 | r32819 | |
4227 | 4260 | // newer than ARM V100 Cart, older than ARM V101 Cart, same 68k rom as V101 Cart. |
4228 | 4261 | GAME( 2003, thegladpcb, theglad, pgm_arm_type3, pgm, pgm_arm_type3_state, theglad, ROT0, "IGS", "The Gladiator / Road of the Sword / Shen Jian (M68k label V100) (ARM label V100, ROM 02/25/03 SHEN JIAN) (Japan, JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )// ARM time: 16:32:21 // PCB version only released in Japan? |
4229 | 4262 | |
4230 | | GAME( 2005, svg, pgm, pgm_arm_type3, svg, pgm_arm_type3_state, svg, ROT0, "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V200) (ARM label V200, ROM 10/11/05 S.V.G V201)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // label was 200, but it's code rev 201? // ARM time: 10:07:20 |
4231 | | GAME( 2005, svgpcb, svg, pgm_arm_type3, svg, pgm_arm_type3_state, svgpcb, ROT0, "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V100JP) (ARM label V100JP ROM 05/12/05 S.V.G V100) (Japan, JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )// ARM time: 15:31:35 // PCB version only released in Japan? |
| 4263 | GAME( 2005, svg, pgm, pgm_arm_type3, svg, pgm_arm_type3_state, svg, ROT0, "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V200) (ARM label V200, ROM 10/11/05 S.V.G V201)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) // ARM label was 200, but it's code rev 201? // ARM time: 10:07:20 |
| 4264 | GAME( 2005, svgtw, svg, pgm_arm_type3, svgtw,pgm_arm_type3_state, svgpcb, ROT0, "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V101TW) (ARM label V101TW, ROM 06/20/05 S.V.G V100)", GAME_NOT_WORKING ) // 68k label was 101 but it's same as v100 |
| 4265 | GAME( 2005, svgpcb, svg, pgm_arm_type3, svg, pgm_arm_type3_state, svgpcb, ROT0, "IGS / Idea Factory", "S.V.G. - Spectral vs Generation (M68k label V100JP) (ARM label V100JP, ROM 05/12/05 S.V.G V100) (Japan, JAMMA PCB)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )// ARM time: 15:31:35 // PCB version only released in Japan? |
4232 | 4266 | |
4233 | 4267 | GAME( 2004, happy6, pgm, pgm_arm_type3, happy6, pgm_arm_type3_state, happy6, ROT0, "IGS", "Happy 6-in-1 (ver. 102CN)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |
4234 | 4268 | GAME( 2004, happy6101, happy6, pgm_arm_type3, happy6, pgm_arm_type3_state, happy6, ROT0, "IGS", "Happy 6-in-1 (ver. 101CN)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE ) |