trunk/src/mame/drivers/nbmj9195.c
r17455 | r17456 | |
1168 | 1168 | AM_RANGE(0x80, 0x81) AM_DEVWRITE_LEGACY("ymsnd", ym3812_w) |
1169 | 1169 | ADDRESS_MAP_END |
1170 | 1170 | |
| 1171 | |
| 1172 | |
| 1173 | |
| 1174 | /* |
| 1175 | TODO: it probably doesn't belong in here. Both CPUs are certainly tmpz84c011 tho ... |
| 1176 | */ |
| 1177 | |
| 1178 | static ADDRESS_MAP_START( shabdama_map, AS_PROGRAM, 8, nbmj9195_state ) |
| 1179 | AM_RANGE(0x0000, 0x7fff) AM_ROM |
| 1180 | AM_RANGE(0xe000, 0xe7ff) AM_RAM |
| 1181 | // AM_RANGE(0xd000, 0xd1ff) AM_READWRITE(nbmj9195_palette_r,nbmj9195_palette_w) |
| 1182 | // AM_RANGE(0xd800, 0xdfff) AM_RAM |
| 1183 | ADDRESS_MAP_END |
| 1184 | |
| 1185 | static ADDRESS_MAP_START( shabdama_io_map, AS_IO, 8, nbmj9195_state ) |
| 1186 | // ADDRESS_MAP_UNMAP_HIGH |
| 1187 | ADDRESS_MAP_GLOBAL_MASK(0xff) |
| 1188 | AM_IMPORT_FROM( tmpz84c011_regs ) |
| 1189 | |
| 1190 | // AM_RANGE(0x60, 0x61) AM_READ(nbmj9195_blitter_0_r) |
| 1191 | // AM_RANGE(0x60, 0x6f) AM_WRITE(nbmj9195_blitter_0_w) |
| 1192 | // AM_RANGE(0x70, 0x7f) AM_WRITE(nbmj9195_clut_0_w) |
| 1193 | ADDRESS_MAP_END |
| 1194 | |
1171 | 1195 | /******************************************************************************** |
1172 | 1196 | These Nichibutsu Mahjong games use two different but very similar control ports: |
1173 | 1197 | - the 1st type is the common control panel used by many other nbmj* drivers |
r17455 | r17456 | |
3452 | 3476 | MACHINE_CONFIG_END |
3453 | 3477 | |
3454 | 3478 | |
| 3479 | static MACHINE_CONFIG_DERIVED( shabdama, NBMJDRV1 ) |
| 3480 | |
| 3481 | /* basic machine hardware */ |
| 3482 | MCFG_CPU_MODIFY("maincpu") |
| 3483 | MCFG_CPU_PROGRAM_MAP(shabdama_map) |
| 3484 | MCFG_CPU_IO_MAP(shabdama_io_map) |
| 3485 | |
| 3486 | MACHINE_CONFIG_END |
| 3487 | |
| 3488 | |
3455 | 3489 | ROM_START( mjuraden ) |
3456 | 3490 | ROM_REGION( 0x10000, "maincpu", 0 ) /* main program */ |
3457 | 3491 | ROM_LOAD( "1.7c", 0x00000, 0x10000, CRC(3b142791) SHA1(b5cf9e2c12967ad4ba035b7480419c91e412c753) ) |
r17455 | r17456 | |
4023 | 4057 | ROM_LOAD( "9.10h", 0x300000, 0x80000, CRC(6bea11d7) SHA1(c9ea69ed38a86c138f702f84c26897225cdaff31) ) |
4024 | 4058 | ROM_END |
4025 | 4059 | |
| 4060 | ROM_START( shabdama ) |
| 4061 | ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 ) |
| 4062 | ROM_LOAD( "1.bin", 0x000000, 0x010000, CRC(e49e3d73) SHA1(6d17d60e1b6f8aee96f7a09f45113030064d3bdb) ) |
4026 | 4063 | |
| 4064 | ROM_REGION( 0x20000, "audiocpu", ROMREGION_ERASE00 ) |
| 4065 | ROM_LOAD( "3.bin", 0x000000, 0x010000, CRC(e8233c6e) SHA1(fbfdb03dc9f4e3e80e161b8522b676485ffb1c95) ) |
| 4066 | ROM_LOAD( "2.bin", 0x010000, 0x010000, CRC(3e0b5344) SHA1(eeae36fc4fca091065c1d51f05c2d11f44fe6d13) ) |
| 4067 | |
| 4068 | ROM_REGION( 0x80000, "gfx1", ROMREGION_ERASE00 ) |
| 4069 | ROM_LOAD( "10.bin", 0x060000, 0x010000, CRC(5da10b82) SHA1(72974d083110fc6c583bfa1c22ce3abe02ba86f6) ) |
| 4070 | ROM_LOAD( "9.bin", 0x050000, 0x010000, CRC(1afdc5bf) SHA1(b07b32656ffc96b7f7d4bd242b2a6e0e105ab67a) ) |
| 4071 | ROM_LOAD( "8.bin", 0x040000, 0x010000, CRC(3e75423e) SHA1(62e24849ddeb004ed8570d2884afa4ab257cdf07) ) |
| 4072 | ROM_LOAD( "7.bin", 0x030000, 0x010000, CRC(7f08e3a6) SHA1(127018442183332175c9e1f558274cd2cb5f0147) ) |
| 4073 | ROM_LOAD( "6.bin", 0x020000, 0x010000, CRC(0fece809) SHA1(1fe8436af8ead02a3b517b6306f9824cd64b2d26) ) |
| 4074 | ROM_LOAD( "5.bin", 0x010000, 0x010000, CRC(0706386a) SHA1(29eee363775869dcc9c46285632e8bf745c9110b) ) |
| 4075 | ROM_LOAD( "4.bin", 0x000000, 0x010000, CRC(199e2127) SHA1(2514d51cb06438b312d1f328c72baa739280416a) ) |
| 4076 | ROM_END |
| 4077 | |
4027 | 4078 | // YEAR, NAME, PARENT, MACHINE, INPUT, INIT, MONITOR, COMPANY, FULLNAME, FLAGS |
4028 | 4079 | GAME( 1992, mjuraden, 0, mjuraden, mjuraden, nbmj9195_state, nbmj9195, ROT0, "Nichibutsu / Yubis", "Mahjong Uranai Densetsu (Japan)", 0 ) |
4029 | 4080 | GAME( 1992, koinomp, 0, koinomp, koinomp, nbmj9195_state, nbmj9195, ROT0, "Nichibutsu", "Mahjong Koi no Magic Potion (Japan)", 0 ) |
r17455 | r17456 | |
4058 | 4109 | GAME( 1994, mscoutm, 0, mscoutm, mscoutm, nbmj9195_state, nbmj9195, ROT0, "Sphinx / AV Japan", "Mahjong Scout Man (Japan)", 0 ) |
4059 | 4110 | GAME( 1994, imekura, 0, imekura, imekura, nbmj9195_state, nbmj9195, ROT0, "Sphinx / AV Japan", "Imekura Mahjong (Japan)", 0 ) |
4060 | 4111 | GAME( 1994, mjegolf, 0, mjegolf, mjegolf, nbmj9195_state, nbmj9195, ROT0, "Fujic / AV Japan", "Mahjong Erotica Golf (Japan)", 0 ) |
| 4112 | |
| 4113 | GAME( 199?, shabdama, 0, shabdama, mjuraden,nbmj9195_state, nbmj9195, ROT0, "Nichibutsu", "LD Mahjong #4 Shabon-Dama", GAME_NOT_WORKING | GAME_NO_SOUND ) |