summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2012-04-18 19:46:34 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2012-04-18 19:46:34 +0000
commitc47f8d57b065ccd972e03d39a5db6761540eb0a6 (patch)
treec451423b2f7db94a53acb262d44a81b620e6e8b5
parent523c35daed51c8320c03e4ccf19038466ec11215 (diff)
small cleanup on OKI access
-rw-r--r--src/mame/drivers/gotcha.c8
-rw-r--r--src/mame/drivers/silvmil.c3
2 files changed, 4 insertions, 7 deletions
diff --git a/src/mame/drivers/gotcha.c b/src/mame/drivers/gotcha.c
index 2f49345e1e2..5dc85abd09b 100644
--- a/src/mame/drivers/gotcha.c
+++ b/src/mame/drivers/gotcha.c
@@ -14,8 +14,6 @@ TODO:
read from C00F.
- Sound samples were getting chopped; I fixed this by changing sound/adpcm.c to
disregard requests to play new samples until the previous one is finished*.
- - This seems to be happening again now, I guess something else disagreed
- with the changed behavior? Maybe AD-65 specific?
Gotcha pcb: 97,7,29 PARA VER 3.0 but it is the same as ppchamp
@@ -121,7 +119,7 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, gotcha_state )
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE_LEGACY("ymsnd", ym2151_r, ym2151_w)
- AM_RANGE(0xc002, 0xc003) AM_DEVWRITE("oki", okim6295_device, write) // TWO addresses!
+ AM_RANGE(0xc002, 0xc002) AM_DEVREADWRITE("oki", okim6295_device, read, write) AM_MIRROR(1)
AM_RANGE(0xc006, 0xc006) AM_READ(soundlatch_byte_r)
AM_RANGE(0xd000, 0xd7ff) AM_RAM
ADDRESS_MAP_END
@@ -401,5 +399,5 @@ ROM_START( ppchamp )
ROM_LOAD( "uz11", 0x00000, 0x80000, CRC(3d96274c) SHA1(c7a670af86194c370bf8fb30afbe027ab78a0227) )
ROM_END
-GAME( 1997, gotcha, 0, gotcha, gotcha, 0, ROT0, "Dongsung", "Got-cha Mini Game Festival", GAME_SUPPORTS_SAVE )
-GAME( 1997, ppchamp, gotcha, gotcha, gotcha, 0, ROT0, "Dongsung", "Pasha Pasha Champ Mini Game Festival (Korea)", GAME_SUPPORTS_SAVE )
+GAME( 1997, gotcha, 0, gotcha, gotcha, 0, ROT0, "Dongsung / Para", "Got-cha Mini Game Festival", GAME_SUPPORTS_SAVE )
+GAME( 1997, ppchamp, gotcha, gotcha, gotcha, 0, ROT0, "Dongsung / Para", "Pasha Pasha Champ Mini Game Festival (Korea)", GAME_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/silvmil.c b/src/mame/drivers/silvmil.c
index f947d85c0b1..036870fa9f3 100644
--- a/src/mame/drivers/silvmil.c
+++ b/src/mame/drivers/silvmil.c
@@ -291,8 +291,7 @@ static ADDRESS_MAP_START( silvmil_sound_map, AS_PROGRAM, 8, silvmil_state )
AM_RANGE(0x0000, 0xbfff) AM_ROM
AM_RANGE(0xd000, 0xd7ff) AM_RAM
AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE_LEGACY("ymsnd", ym2151_r, ym2151_w)
- AM_RANGE(0xc002, 0xc002) AM_DEVREADWRITE("oki", okim6295_device, read, write)
- AM_RANGE(0xc003, 0xc003) AM_DEVREADWRITE("oki", okim6295_device, read, write)
+ AM_RANGE(0xc002, 0xc002) AM_DEVREADWRITE("oki", okim6295_device, read, write) AM_MIRROR(1)
AM_RANGE(0xc006, 0xc006) AM_READ(soundlatch_byte_r)
AM_RANGE(0xc00f, 0xc00f) AM_WRITENOP // ??
ADDRESS_MAP_END