trunk/src/mame/drivers/pacman.c
r32663 | r32664 | |
1317 | 1317 | |
1318 | 1318 | |
1319 | 1319 | |
| 1320 | static ADDRESS_MAP_START( pengojpm_map, AS_PROGRAM, 8, pacman_state ) |
| 1321 | AM_RANGE(0x0000, 0x7fff) AM_ROM |
| 1322 | |
| 1323 | AM_RANGE(0x8000, 0x83ff) AM_RAM_WRITE(pacman_videoram_w) AM_SHARE("videoram") |
| 1324 | AM_RANGE(0x8400, 0x87ff) AM_RAM_WRITE(pacman_colorram_w) AM_SHARE("colorram") |
| 1325 | AM_RANGE(0x8800, 0x8bff) AM_READ(pacman_read_nop) AM_WRITENOP |
| 1326 | AM_RANGE(0x8c00, 0x8fef) AM_RAM |
| 1327 | AM_RANGE(0x8ff0, 0x8fff) AM_RAM AM_SHARE("spriteram") |
| 1328 | AM_RANGE(0x9000, 0x9000) AM_WRITE(irq_mask_w) |
| 1329 | AM_RANGE(0x9001, 0x9001) AM_DEVWRITE("namco", namco_device, pacman_sound_enable_w) |
| 1330 | AM_RANGE(0x9002, 0x9002) AM_WRITENOP |
| 1331 | AM_RANGE(0x9003, 0x9003) AM_WRITE(pacman_flipscreen_w) |
| 1332 | AM_RANGE(0x9004, 0x9005) AM_WRITENOP // AM_WRITE(pacman_leds_w) |
| 1333 | AM_RANGE(0x9006, 0x9006) AM_WRITENOP // AM_WRITE(pacman_coin_lockout_global_w) |
| 1334 | AM_RANGE(0x9007, 0x9007) AM_WRITE(pacman_coin_counter_w) |
| 1335 | AM_RANGE(0x9040, 0x905f) AM_DEVWRITE("namco", namco_device, pacman_sound_w) |
| 1336 | AM_RANGE(0x9060, 0x906f) AM_WRITEONLY AM_SHARE("spriteram2") |
| 1337 | AM_RANGE(0x9070, 0x907f) AM_WRITENOP |
| 1338 | AM_RANGE(0x9080, 0x9080) AM_WRITENOP |
| 1339 | AM_RANGE(0x90c0, 0x90c0) AM_WRITE(watchdog_reset_w) |
| 1340 | AM_RANGE(0x9000, 0x9000) AM_READ_PORT("IN0") |
| 1341 | AM_RANGE(0x9040, 0x9040) AM_READ_PORT("IN1") |
| 1342 | AM_RANGE(0x9080, 0x9080) AM_READ_PORT("DSW1") |
| 1343 | AM_RANGE(0x90c0, 0x90c0) AM_READ_PORT("DSW2") |
| 1344 | |
| 1345 | AM_RANGE(0xf000, 0xffff) AM_RAM |
| 1346 | ADDRESS_MAP_END |
| 1347 | |
| 1348 | |
1320 | 1349 | /************************************* |
1321 | 1350 | * |
1322 | 1351 | * Main CPU port handlers |
r32663 | r32664 | |
3354 | 3383 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) |
3355 | 3384 | MACHINE_CONFIG_END |
3356 | 3385 | |
| 3386 | static MACHINE_CONFIG_DERIVED( pengojpm, pacman ) |
| 3387 | MCFG_CPU_MODIFY("maincpu") |
| 3388 | MCFG_CPU_PROGRAM_MAP(pengojpm_map) |
| 3389 | MACHINE_CONFIG_END |
| 3390 | |
| 3391 | |
3357 | 3392 | static MACHINE_CONFIG_DERIVED( birdiy, pacman ) |
3358 | 3393 | |
3359 | 3394 | /* basic machine hardware */ |
r32663 | r32664 | |
4067 | 4102 | ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ |
4068 | 4103 | ROM_END |
4069 | 4104 | |
| 4105 | ROM_START( pengojpm ) |
| 4106 | ROM_REGION( 0x10000, "maincpu", 0 ) |
| 4107 | ROM_LOAD( "pengo1.bin", 0x0000, 0x1000, CRC(1519d59b) SHA1(13b99780fcccac61b16201500e309c9b442406c8) ) |
| 4108 | ROM_RELOAD(0x4000,0x1000) |
| 4109 | ROM_LOAD( "pengo2.bin", 0x1000, 0x1000, CRC(1b90c32c) SHA1(1761add93d71d29840b1462b9747a3d463b7148d) ) |
| 4110 | ROM_RELOAD(0x5000,0x1000) |
| 4111 | ROM_LOAD( "pengo3.bin", 0x2000, 0x1000, CRC(aff4fba1) SHA1(8083352b3a2a4a70b2db778074826a55177e06ab) ) |
| 4112 | ROM_RELOAD(0x6000,0x1000) |
| 4113 | ROM_LOAD( "pengo4.bin", 0x3000, 0x1000, CRC(1628eb6d) SHA1(44bd9d30828bb2440599fcd4a46f20fd798c24d5) ) |
| 4114 | ROM_RELOAD(0x7000,0x1000) |
| 4115 | |
| 4116 | ROM_LOAD( "pengo5.bin", 0xd000, 0x0800, CRC(7458f816) SHA1(bc5d3a4f374d5b93aefa7378eae1492956cca6af) ) |
| 4117 | ROM_CONTINUE(0x000,0x800) // this contains z80 interrupt stuff? does it get banked in at 0? |
| 4118 | |
| 4119 | ROM_REGION( 0x2000, "gfx1", 0 ) |
| 4120 | ROM_LOAD( "pengoa.bin", 0x0000, 0x0800, CRC(ad88978a) SHA1(a568baf751753660223958b722980f031310eba1) ) |
| 4121 | ROM_LOAD( "pengob.bin", 0x0800, 0x0800, CRC(bae319a3) SHA1(88f0562ba2501f16ddfaffb12c4d1c00315f4225) ) |
| 4122 | ROM_LOAD( "pengoc.bin", 0x1000, 0x0800, CRC(cb208b9f) SHA1(63b64b52c9c3e18b2d2823e79095160fb1a71f00) ) |
| 4123 | ROM_LOAD( "pengod.bin", 0x1800, 0x0800, CRC(5a5190e8) SHA1(caf49a348c649fbf959e97c632832bdb5bc068be) ) |
| 4124 | |
| 4125 | // proms are unknown |
| 4126 | ROM_REGION( 0x0120, "proms", 0 ) |
| 4127 | ROM_LOAD( "82s123.7f", 0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) ) |
| 4128 | ROM_LOAD( "82s126.4a", 0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) ) |
| 4129 | |
| 4130 | ROM_REGION( 0x0200, "namco", 0 ) /* sound PROMs */ |
| 4131 | ROM_LOAD( "82s126.1m", 0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) ) |
| 4132 | ROM_LOAD( "82s126.3m", 0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) ) /* timing - not used */ |
| 4133 | ROM_END |
| 4134 | |
4070 | 4135 | ROM_START( bucaner ) |
4071 | 4136 | ROM_REGION( 0x10000, "maincpu", 0 ) |
4072 | 4137 | ROM_LOAD( "buc1.6e", 0x0000, 0x0800, CRC(2c0fa0ab) SHA1(37680e4502771ae69d51d07ce43f65b9b2dd2a49) ) |
r32663 | r32664 | |
6594 | 6659 | |
6595 | 6660 | GAME( 1999, superabc, 0, superabc, superabc, pacman_state, superabc, ROT90, "hack (Two-Bit Score)", "Super ABC (Pac-Man multigame kit, Sep. 03 1999)", GAME_SUPPORTS_SAVE ) |
6596 | 6661 | GAME( 1999, superabco,superabc, superabc, superabc, pacman_state, superabc, ROT90, "hack (Two-Bit Score)", "Super ABC (Pac-Man multigame kit, Mar. 08 1999)", GAME_SUPPORTS_SAVE ) |
| 6662 | |
| 6663 | GAME( 1981, pengojpm, pengo, pengojpm, pacman, driver_device, 0, ROT90, "bootleg", "Pengo (bootleg on JPM Pac-Man hardware)", GAME_NOT_WORKING ) // conversion of pacmanjpm board with wire mods |