~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/drivers/chinagat.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
580
580
        MDRV_SOUND_ROUTE(0, "mono", 0.80)
581
581
        MDRV_SOUND_ROUTE(1, "mono", 0.80)
582
582
 
583
 
        MDRV_SOUND_ADD("oki", OKIM6295, 1452000)
584
 
        MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // clock frequency & pin 7 not verified
585
 
        MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45)
 
583
        MDRV_SOUND_ADD("oki", OKIM6295, 1065000)
 
584
        MDRV_SOUND_CONFIG(okim6295_interface_pin7high) // pin 7 not verified, clock frequency estimated with recording
 
585
        MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
586
586
MACHINE_DRIVER_END
587
587
 
588
588
static MACHINE_DRIVER_START( saiyugb1 )
690
690
        ROM_REGION( 0x10000, "audiocpu", 0 )    /* Music CPU, 64KB */
691
691
        ROM_LOAD( "23j0-0.40",   0x00000, 0x08000, CRC(9ffcadb6) SHA1(606dbdd73aee3cabb2142200ac6f8c96169e4b19) )
692
692
 
693
 
        ROM_REGION(0x20000, "gfx1", ROMREGION_DISPOSE ) /* Text */
 
693
        ROM_REGION(0x20000, "gfx1", 0 ) /* Text */
694
694
        ROM_LOAD( "cgate18.bin", 0x00000, 0x20000, CRC(8d88d64d) SHA1(57265138ebb0c6419542cce5953aee7335bfa2bd) )       /* 0,1,2,3 */
695
695
 
696
 
        ROM_REGION(0x80000, "gfx2", ROMREGION_DISPOSE ) /* Sprites */
 
696
        ROM_REGION(0x80000, "gfx2", 0 ) /* Sprites */
697
697
        ROM_LOAD( "23j7-0.103",  0x00000, 0x20000, CRC(2f445030) SHA1(3fcf32097e655e963d952d01a30396dc195269ca) )       /* 2,3 */
698
698
        ROM_LOAD( "23j8-0.102",  0x20000, 0x20000, CRC(237f725a) SHA1(47bebe5b9878ca10fe6efd4f353717e53a372416) )       /* 2,3 */
699
699
        ROM_LOAD( "23j9-0.101",  0x40000, 0x20000, CRC(8caf6097) SHA1(50ad192f831b055586a4a9974f8c6c2f2063ede5) )       /* 0,1 */
700
700
        ROM_LOAD( "23ja-0.100",  0x60000, 0x20000, CRC(f678594f) SHA1(4bdcf9407543925f4630a8c7f1f48b85f76343a9) )       /* 0,1 */
701
701
 
702
 
        ROM_REGION(0x40000, "gfx3", ROMREGION_DISPOSE ) /* Background */
 
702
        ROM_REGION(0x40000, "gfx3", 0 ) /* Background */
703
703
        ROM_LOAD( "a-13", 0x00000, 0x10000, NO_DUMP )           /* Where are    */
704
704
        ROM_LOAD( "a-12", 0x10000, 0x10000, NO_DUMP )           /* these on the */
705
705
        ROM_LOAD( "a-15", 0x20000, 0x10000, NO_DUMP )           /* real board ? */
727
727
        ROM_REGION( 0x10000, "audiocpu", 0 )    /* Music CPU, 64KB */
728
728
        ROM_LOAD( "23j0-0.40",  0x00000, 0x8000, CRC(9ffcadb6) SHA1(606dbdd73aee3cabb2142200ac6f8c96169e4b19) )
729
729
 
730
 
        ROM_REGION(0x20000, "gfx1", ROMREGION_DISPOSE ) /* Text */
 
730
        ROM_REGION(0x20000, "gfx1", 0 ) /* Text */
731
731
        ROM_LOAD( "23j6-0.18",  0x00000, 0x20000, CRC(86d33df0) SHA1(3419959c28703c5177de9c11b61e1dba9e76aca5) )        /* 0,1,2,3 */
732
732
 
733
 
        ROM_REGION(0x80000, "gfx2", ROMREGION_DISPOSE ) /* Sprites */
 
733
        ROM_REGION(0x80000, "gfx2", 0 ) /* Sprites */
734
734
        ROM_LOAD( "23j7-0.103", 0x00000, 0x20000, CRC(2f445030) SHA1(3fcf32097e655e963d952d01a30396dc195269ca) )        /* 2,3 */
735
735
        ROM_LOAD( "23j8-0.102", 0x20000, 0x20000, CRC(237f725a) SHA1(47bebe5b9878ca10fe6efd4f353717e53a372416) )        /* 2,3 */
736
736
        ROM_LOAD( "23j9-0.101", 0x40000, 0x20000, CRC(8caf6097) SHA1(50ad192f831b055586a4a9974f8c6c2f2063ede5) )        /* 0,1 */
737
737
        ROM_LOAD( "23ja-0.100", 0x60000, 0x20000, CRC(f678594f) SHA1(4bdcf9407543925f4630a8c7f1f48b85f76343a9) )        /* 0,1 */
738
738
 
739
 
        ROM_REGION(0x40000, "gfx3", ROMREGION_DISPOSE ) /* Background */
 
739
        ROM_REGION(0x40000, "gfx3", 0 ) /* Background */
740
740
        ROM_LOAD( "a-13", 0x00000, 0x10000, NO_DUMP )
741
741
        ROM_LOAD( "a-12", 0x10000, 0x10000, NO_DUMP )
742
742
        ROM_LOAD( "a-15", 0x20000, 0x10000, NO_DUMP )
751
751
        ROM_LOAD( "23j5-0.45", 0x200, 0x100, CRC(fdb130a9) SHA1(4c4f214229b9fab2b5d69c745ec5428787b89e1f) )     /* 82S129 on main board */
752
752
ROM_END
753
753
 
754
 
ROM_START( saiyugb1 )
 
754
ROM_START( saiyugoub1 )
755
755
        ROM_REGION( 0x28000, "maincpu", 0 )     /* Main CPU: 128KB for code (bankswitched using $3F01) */
756
756
        ROM_LOAD( "23j3-0.51",  0x10000, 0x18000, CRC(aa8132a2) SHA1(87c3bd447767f263113c4865afc905a0e484a625) )        /* Banks 0x4000 long @ 0x4000 */
757
757
        /* Orientation of bootleg ROMs which are split, but otherwise the same.
774
774
        ROM_REGION( 0x800, "mcu", 0 )           /* ADPCM CPU, 1KB */
775
775
        ROM_LOAD( "mcu8748.bin", 0x000, 0x400, CRC(6d28d6c5) SHA1(20582c62a72545e68c2e155b063ee7e95e1228ce) )
776
776
 
777
 
        ROM_REGION(0x20000, "gfx1", ROMREGION_DISPOSE ) /* Text */
 
777
        ROM_REGION(0x20000, "gfx1", 0 ) /* Text */
778
778
        ROM_LOAD( "23j6-0.18",  0x00000, 0x20000, CRC(86d33df0) SHA1(3419959c28703c5177de9c11b61e1dba9e76aca5) )        /* 0,1,2,3 */
779
779
        /* Orientation of bootleg ROMs which are split, but otherwise the same.
780
780
       ROM_LOAD( "a-2.bin", 0x00000, 0x10000, CRC(baa5a3b9) )      0,1
781
781
       ROM_LOAD( "a-3.bin", 0x10000, 0x10000, CRC(532d59be) )      2,3
782
782
    */
783
783
 
784
 
        ROM_REGION(0x80000, "gfx2", ROMREGION_DISPOSE ) /* Sprites */
 
784
        ROM_REGION(0x80000, "gfx2", 0 ) /* Sprites */
785
785
        ROM_LOAD( "23j7-0.103",  0x00000, 0x20000, CRC(2f445030) SHA1(3fcf32097e655e963d952d01a30396dc195269ca) )       /* 2,3 */
786
786
        ROM_LOAD( "23j8-0.102",  0x20000, 0x20000, CRC(237f725a) SHA1(47bebe5b9878ca10fe6efd4f353717e53a372416) )       /* 2,3 */
787
787
        ROM_LOAD( "23j9-0.101",  0x40000, 0x20000, CRC(8caf6097) SHA1(50ad192f831b055586a4a9974f8c6c2f2063ede5) )       /* 0,1 */
797
797
       ROM_LOAD( "a-16.bin", 0x70000, 0x10000, CRC(f196818b) )     0,1
798
798
    */
799
799
 
800
 
        ROM_REGION(0x40000, "gfx3", ROMREGION_DISPOSE ) /* Background */
 
800
        ROM_REGION(0x40000, "gfx3", 0 ) /* Background */
801
801
        ROM_LOAD( "a-13", 0x00000, 0x10000, CRC(b745cac4) SHA1(759767ca7c5123b03b9e1a42bb105d194cb76400) )
802
802
        ROM_LOAD( "a-12", 0x10000, 0x10000, CRC(3c864299) SHA1(cb12616e4d6c53a82beb4cd51510a632894b359c) )
803
803
        ROM_LOAD( "a-15", 0x20000, 0x10000, CRC(2f268f37) SHA1(f82cfe3b2001d5ed2a709ca9c51febcf624bb627) )
816
816
        ROM_LOAD( "23j5-0.45", 0x200, 0x100, CRC(fdb130a9) SHA1(4c4f214229b9fab2b5d69c745ec5428787b89e1f) )     /* 82S129 on main board */
817
817
ROM_END
818
818
 
819
 
ROM_START( saiyugb2 )
 
819
ROM_START( saiyugoub2 )
820
820
        ROM_REGION( 0x28000, "maincpu", 0 )     /* Main CPU: 128KB for code (bankswitched using $3F01) */
821
821
        ROM_LOAD( "23j3-0.51",   0x10000, 0x18000, CRC(aa8132a2) SHA1(87c3bd447767f263113c4865afc905a0e484a625) )       /* Banks 0x4000 long @ 0x4000 */
822
822
        /* Orientation of bootleg ROMs which are split, but otherwise the same.
839
839
//  ROM_REGION( 0x800, "cpu3", 0 )     /* ADPCM CPU, 1KB */
840
840
//  ROM_LOAD( "sgr-8749.bin", 0x000, 0x800, CRC(9237e8c5) ) /* same as above but padded with 00 for different mcu */
841
841
 
842
 
        ROM_REGION(0x20000, "gfx1", ROMREGION_DISPOSE ) /* Text */
 
842
        ROM_REGION(0x20000, "gfx1", 0 ) /* Text */
843
843
        ROM_LOAD( "23j6-0.18", 0x00000, 0x20000, CRC(86d33df0) SHA1(3419959c28703c5177de9c11b61e1dba9e76aca5) ) /* 0,1,2,3 */
844
844
        /* Orientation of bootleg ROMs which are split, but otherwise the same.
845
845
       ROM_LOAD( "sai2.bin", 0x00000, 0x10000, CRC(baa5a3b9) )     0,1
846
846
       ROM_LOAD( "sai3.bin", 0x10000, 0x10000, CRC(532d59be) )     2,3
847
847
    */
848
848
 
849
 
        ROM_REGION(0x80000, "gfx2", ROMREGION_DISPOSE ) /* Sprites */
 
849
        ROM_REGION(0x80000, "gfx2", 0 ) /* Sprites */
850
850
        ROM_LOAD( "23j7-0.103",   0x00000, 0x20000, CRC(2f445030) SHA1(3fcf32097e655e963d952d01a30396dc195269ca) )      /* 2,3 */
851
851
        ROM_LOAD( "23j8-0.102",   0x20000, 0x20000, CRC(237f725a) SHA1(47bebe5b9878ca10fe6efd4f353717e53a372416) )      /* 2,3 */
852
852
        ROM_LOAD( "23j9-0.101",   0x40000, 0x20000, CRC(8caf6097) SHA1(50ad192f831b055586a4a9974f8c6c2f2063ede5) )      /* 0,1 */
862
862
       ROM_LOAD( "sai16.bin", 0x70000, 0x10000, CRC(f196818b) )    0,1
863
863
    */
864
864
 
865
 
        ROM_REGION(0x40000, "gfx3", ROMREGION_DISPOSE ) /* Background */
 
865
        ROM_REGION(0x40000, "gfx3", 0 ) /* Background */
866
866
        ROM_LOAD( "a-13", 0x00000, 0x10000, CRC(b745cac4) SHA1(759767ca7c5123b03b9e1a42bb105d194cb76400) )
867
867
        ROM_LOAD( "a-12", 0x10000, 0x10000, CRC(3c864299) SHA1(cb12616e4d6c53a82beb4cd51510a632894b359c) )
868
868
        ROM_LOAD( "a-15", 0x20000, 0x10000, CRC(2f268f37) SHA1(f82cfe3b2001d5ed2a709ca9c51febcf624bb627) )
891
891
 
892
892
 
893
893
/*   ( YEAR  NAME      PARENT    MACHINE   INPUT     INIT    MONITOR COMPANY    FULLNAME     FLAGS ) */
894
 
GAME( 1988, chinagat, 0,        chinagat, chinagat, chinagat, ROT0, "[Technos Japan] (Taito Romstar license)", "China Gate (US)", 0 )
895
 
GAME( 1988, saiyugou, chinagat, chinagat, chinagat, chinagat, ROT0, "Technos Japan", "Sai Yu Gou Ma Roku (Japan)", 0 )
896
 
GAME( 1988, saiyugb1, chinagat, saiyugb1, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 1)", GAME_IMPERFECT_SOUND )
897
 
GAME( 1988, saiyugb2, chinagat, saiyugb2, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 2)", 0 )
 
894
GAME( 1988, chinagat,   0,        chinagat, chinagat, chinagat, ROT0, "[Technos Japan] (Taito Romstar license)", "China Gate (US)", 0 )
 
895
GAME( 1988, saiyugou,   chinagat, chinagat, chinagat, chinagat, ROT0, "Technos Japan", "Sai Yu Gou Ma Roku (Japan)", 0 )
 
896
GAME( 1988, saiyugoub1, chinagat, saiyugb1, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 1)", GAME_IMPERFECT_SOUND )
 
897
GAME( 1988, saiyugoub2, chinagat, saiyugb2, chinagat, chinagat, ROT0, "bootleg", "Sai Yu Gou Ma Roku (Japan bootleg 2)", 0 )