trunk/src/mame/video/cps1.c
r32769 | r32770 | |
1443 | 1443 | {"sf2ee", CPS_B_18, mapper_STF29, 0x3c }, |
1444 | 1444 | {"sf2ebbl", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
1445 | 1445 | {"sf2ebbl2", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
1446 | | {"sf2ebbl3", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
| 1446 | {"sf2ebbl3", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
1447 | 1447 | {"sf2stt", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
1448 | 1448 | {"sf2rk", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
1449 | 1449 | {"sf2ua", CPS_B_17, mapper_STF29, 0x36 }, |
r32769 | r32770 | |
1525 | 1525 | {"sf2mdt", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 }, |
1526 | 1526 | {"sf2mdta", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 }, |
1527 | 1527 | {"sf2mdtb", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 }, |
1528 | | {"sf2mdtc", CPS_B_21_DEF, mapper_S9263B, 0x36, 0, 0, 1 }, |
| 1528 | {"sf2b", CPS_B_17, mapper_STF29, 0x36, 0, 0, 1 }, |
1529 | 1529 | {"varth", CPS_B_04, mapper_VA63B }, /* CPSB test has been patched out (60=0008) register is also written to, possibly leftover from development */ // wrong, this set uses VA24B, dumped but equations still not added |
1530 | 1530 | {"varthr1", CPS_B_04, mapper_VA63B }, /* CPSB test has been patched out (60=0008) register is also written to, possibly leftover from development */ // wrong, this set uses VA24B, dumped but equations still not added |
1531 | 1531 | {"varthu", CPS_B_04, mapper_VA63B }, /* CPSB test has been patched out (60=0008) register is also written to, possibly leftover from development */ |
trunk/src/mame/drivers/fcrash.c
r32769 | r32770 | |
754 | 754 | AM_RANGE(0xff0000, 0xffffff) AM_RAM |
755 | 755 | ADDRESS_MAP_END |
756 | 756 | |
| 757 | static ADDRESS_MAP_START( sf2b_map, AS_PROGRAM, 16, cps_state ) |
| 758 | AM_RANGE(0x000000, 0x3fffff) AM_ROM |
| 759 | AM_RANGE(0x708100, 0x7081ff) AM_WRITE(sf2mdta_layer_w) |
| 760 | AM_RANGE(0x70c000, 0x70c001) AM_READ_PORT("IN1") |
| 761 | AM_RANGE(0x70c008, 0x70c009) AM_READ_PORT("IN2") |
| 762 | AM_RANGE(0x70c018, 0x70c01f) AM_READ(cps1_hack_dsw_r) |
| 763 | AM_RANGE(0x70c106, 0x70c107) AM_WRITE(cawingbl_soundlatch_w) |
| 764 | AM_RANGE(0x70d000, 0x70d001) AM_WRITENOP // writes FFFF |
| 765 | //AM_RANGE(0x800030, 0x800031) AM_WRITE(cps1_coinctrl_w) |
| 766 | AM_RANGE(0x800100, 0x80013f) AM_RAM AM_SHARE("cps_a_regs") /* CPS-A custom */ |
| 767 | AM_RANGE(0x800140, 0x80017f) AM_READWRITE(cps1_cps_b_r, cps1_cps_b_w) AM_SHARE("cps_b_regs") /* CPS-B custom */ |
| 768 | AM_RANGE(0x900000, 0x92ffff) AM_RAM_WRITE(cps1_gfxram_w) AM_SHARE("gfxram") |
| 769 | AM_RANGE(0xff0000, 0xffffff) AM_RAM |
| 770 | ADDRESS_MAP_END |
| 771 | |
757 | 772 | static ADDRESS_MAP_START( sgyxz_map, AS_PROGRAM, 16, cps_state ) |
758 | 773 | AM_RANGE(0x000000, 0x3fffff) AM_ROM |
759 | 774 | AM_RANGE(0x800030, 0x800031) AM_WRITE(cps1_coinctrl_w) |
r32769 | r32770 | |
1684 | 1699 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) |
1685 | 1700 | MACHINE_CONFIG_END |
1686 | 1701 | |
| 1702 | static MACHINE_CONFIG_DERIVED( sf2b, sf2mdt) |
| 1703 | MCFG_CPU_MODIFY("maincpu") |
| 1704 | MCFG_CPU_PROGRAM_MAP(sf2b_map) |
| 1705 | MACHINE_CONFIG_END |
| 1706 | |
1687 | 1707 | static MACHINE_CONFIG_START( knightsb, cps_state ) |
1688 | 1708 | |
1689 | 1709 | /* basic machine hardware */ |
r32769 | r32770 | |
2640 | 2660 | ROM_RELOAD( 0x10000, 0x20000 ) |
2641 | 2661 | ROM_END |
2642 | 2662 | |
2643 | | ROM_START( sf2mdtc ) |
| 2663 | ROM_START( sf2b ) |
2644 | 2664 | ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */ |
2645 | 2665 | ROM_LOAD16_WORD_SWAP( "pf1-2-sg076.bin", 0x000000, 0x100000, CRC(1d15bc7a) SHA1(834627545f191f39de6beb008c89623f2b88c13b) ) |
2646 | 2666 | |
r32769 | r32770 | |
2765 | 2785 | DRIVER_INIT_CALL(cps1); |
2766 | 2786 | } |
2767 | 2787 | |
| 2788 | DRIVER_INIT_MEMBER(cps_state, sf2b) |
| 2789 | { |
| 2790 | /* bootleg sprite ram */ |
| 2791 | m_bootleg_sprite_ram = (UINT16*)m_maincpu->space(AS_PROGRAM).install_ram(0x700000, 0x703fff); |
| 2792 | m_maincpu->space(AS_PROGRAM).install_ram(0x704000, 0x707fff, m_bootleg_sprite_ram); |
2768 | 2793 | |
| 2794 | DRIVER_INIT_CALL(cps1); |
| 2795 | } |
2769 | 2796 | |
2770 | 2797 | // ************************************************************************* SLAMPIC |
2771 | 2798 | |
r32769 | r32770 | |
2886 | 2913 | GAME( 1992, sf2mdt, sf2ce, sf2mdt, sf2mdt, cps_state, sf2mdt, ROT0, "bootleg", "Street Fighter II': Magic Delta Turbo (bootleg, set 1)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // 920313 - based on (heavily modified) World version |
2887 | 2914 | GAME( 1992, sf2mdta, sf2ce, sf2mdt, sf2mdt, cps_state, sf2mdta, ROT0, "bootleg", "Street Fighter II': Magic Delta Turbo (bootleg, set 2)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // 920313 - based on World version |
2888 | 2915 | GAME( 1992, sf2mdtb, sf2ce, sf2mdt, sf2mdtb, cps_state, sf2mdtb, ROT0, "bootleg", "Street Fighter II': Magic Delta Turbo (bootleg, set 3)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // 920313 - based on World version |
2889 | | GAME( 1992, sf2mdtc, sf2ce, sf2mdt, sf2mdt, cps_state, sf2mdta, ROT0, "bootleg", "Street Fighter II': Magic Delta Turbo (bootleg, set 4)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) |
2890 | 2916 | |
2891 | | GAME( 1992, sf2m9, sf2ce, sf2m1, sf2, cps_state, dinopic, ROT0, "bootleg", "Street Fighter II': Champion Edition (M9, bootleg)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // 920313 ETC |
| 2917 | GAME( 1992, sf2b, sf2, sf2b, sf2mdt, cps_state, sf2b, ROT0, "bootleg", "Street Fighter II: The World Warrior (bootleg)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) //910204 - based on World version |
2892 | 2918 | |
| 2919 | GAME( 1992, sf2m9, sf2ce, sf2m1, sf2, cps_state, dinopic, ROT0, "bootleg", "Street Fighter II': Champion Edition (M9, bootleg)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // 920313 ETC |
| 2920 | |
2893 | 2921 | GAME( 1993, slampic, slammast, slampic, slammast, cps_state, dinopic, ROT0, "bootleg", "Saturday Night Slam Masters (bootleg with PIC16c57)", GAME_IMPERFECT_GRAPHICS | GAME_NO_SOUND | GAME_SUPPORTS_SAVE ) // 930713 ETC |
2894 | 2922 | |
2895 | 2923 | GAME( 1999, sgyxz, wof, sgyxz, sgyxz, cps_state, cps1, ROT0, "bootleg (All-In Electronic)", "Warriors of Fate ('sgyxz' bootleg)", GAME_IMPERFECT_GRAPHICS | GAME_SUPPORTS_SAVE ) // 921005 - Sangokushi 2 |