seta.c (blockcarb): preliminary hook-up of the okim6295, only SFX work. Is there another sound chip? If not, what's the purpose of the sound cpu? (nw)

This commit is contained in:
Ivan Vangelista 2015-10-16 17:50:45 +02:00
parent 57e64c5603
commit 8273b50e5a

View File

@ -2226,7 +2226,9 @@ static ADDRESS_MAP_START( blockcarb_map, AS_PROGRAM, 16, seta_state )
AM_RANGE(0x500000, 0x500001) AM_READ_PORT("P1") // P1
AM_RANGE(0x500002, 0x500003) AM_READ_PORT("P2") // P2
AM_RANGE(0x500004, 0x500005) AM_READ_PORT("COINS") // Coins
// AM_RANGE(0xa00000, 0xa03fff) AM_DEVREADWRITE("x1snd", x1_010_device, word_r, word_w) // Sound - not on this bootleg
AM_RANGE(0x500008, 0x500009) AM_DEVWRITE8("oki", okim6295_device, write, 0x00ff)
//AM_RANGE(0x50000c, 0x50000d) // ??
AM_RANGE(0xa00000, 0xa03fff) AM_NOP // Sound - not on this bootleg
AM_RANGE(0xb00000, 0xb003ff) AM_RAM AM_SHARE("paletteram") // Palette
AM_RANGE(0xc00000, 0xc03fff) AM_RAM AM_DEVREADWRITE("spritegen", seta001_device, spritecode_r16, spritecode_w16) // Sprites Code + X + Attr
/**/AM_RANGE(0xd00000, 0xd00001) AM_RAM // ? 0x4000
@ -8148,9 +8150,8 @@ MACHINE_CONFIG_END
static ADDRESS_MAP_START( blockcarb_sound_map, AS_PROGRAM, 8, seta_state )
ADDRESS_MAP_UNMAP_HIGH
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0x8000, 0xdfff) AM_ROM
AM_RANGE(0xe800, 0xe800) AM_READ(wiggie_soundlatch_r)
AM_RANGE(0xf800, 0xffff) AM_RAM
AM_RANGE(0xd000, 0xdfff) AM_RAM
//AM_RANGE(0xf001, 0xf001) ??
ADDRESS_MAP_END
static ADDRESS_MAP_START( blockcarb_sound_portmap, AS_IO, 8, seta_state )
@ -11656,7 +11657,7 @@ GAME( 1992, blandia, 0, blandia, blandia, seta_state, blandia, ROT
GAME( 1992, blandiap, blandia, blandiap, blandia, driver_device, 0, ROT0, "Allumer", "Blandia (prototype)", MACHINE_IMPERFECT_GRAPHICS )
GAME( 1992, blockcar, 0, blockcar, blockcar, driver_device, 0, ROT90, "Visco", "Block Carnival / Thunder & Lightning 2" , 0) // Title: DSW
GAME( 1992, blockcarb,blockcar, blockcarb,blockcar, driver_device, 0, ROT90, "bootleg", "Block Carnival / Thunder & Lightning 2 (bootleg)", MACHINE_NO_SOUND)
GAME( 1992, blockcarb,blockcar, blockcarb,blockcar, driver_device, 0, ROT90, "bootleg", "Block Carnival / Thunder & Lightning 2 (bootleg)", MACHINE_IMPERFECT_SOUND)
GAME( 1992, qzkklogy, 0, drgnunit, qzkklogy, driver_device, 0, ROT0, "Tecmo", "Quiz Kokology", 0 )