flkatck.cpp: fix old regression when memorymaps were merged (nw)

This commit is contained in:
hap 2017-05-19 18:49:36 +02:00
parent 0ac471d4f6
commit 6f535e25d4
2 changed files with 9 additions and 8 deletions

View File

@ -106,10 +106,11 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( flkatck_sound_map, AS_PROGRAM, 8, flkatck_state )
AM_RANGE(0x0000, 0x7fff) AM_ROM /* ROM */
AM_RANGE(0x8000, 0x87ff) AM_RAM /* RAM */
AM_RANGE(0x9000, 0x9000) AM_READWRITE(multiply_r, multiply_w) /* ??? */
// AM_RANGE(0x9001, 0x9001) AM_RAM /* ??? */
AM_RANGE(0x9004, 0x9004) AM_READNOP /* ??? */
AM_RANGE(0x9006, 0x9006) AM_WRITENOP /* ??? */
AM_RANGE(0x9000, 0x9000) AM_READ(multiply_r) // 007452: Protection (see wecleman, but unused here?)
AM_RANGE(0x9001, 0x9001) AM_READNOP // 007452: ?
AM_RANGE(0x9000, 0x9001) AM_WRITE(multiply_w) // 007452: Protection (see wecleman, but unused here?)
AM_RANGE(0x9004, 0x9004) AM_READNOP // 007452: ?
AM_RANGE(0x9006, 0x9006) AM_WRITENOP // 007452: ?
AM_RANGE(0xa000, 0xa000) AM_DEVREAD("soundlatch", generic_latch_8_device, read)
AM_RANGE(0xb000, 0xb00d) AM_DEVREADWRITE("k007232", k007232_device, read, write) /* 007232 registers */
AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE("ymsnd", ym2151_device, read, write) /* YM2151 */

View File

@ -642,10 +642,10 @@ WRITE8_MEMBER(wecleman_state::wecleman_K00723216_bank_w)
static ADDRESS_MAP_START( wecleman_sound_map, AS_PROGRAM, 8, wecleman_state )
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0x8000, 0x83ff) AM_RAM
AM_RANGE(0x8500, 0x8500) AM_WRITENOP // incresed with speed (global volume)?
AM_RANGE(0x9000, 0x9000) AM_READ(multiply_r) // Protection
AM_RANGE(0x9000, 0x9001) AM_WRITE(multiply_w) // Protection
AM_RANGE(0x9006, 0x9006) AM_WRITENOP // ?
AM_RANGE(0x8500, 0x8500) AM_WRITENOP // increased with speed (global volume)?
AM_RANGE(0x9000, 0x9000) AM_READ(multiply_r) // 007452: Protection
AM_RANGE(0x9000, 0x9001) AM_WRITE(multiply_w) // 007452: Protection
AM_RANGE(0x9006, 0x9006) AM_WRITENOP // 007452: ?
AM_RANGE(0xa000, 0xa000) AM_DEVREAD("soundlatch", generic_latch_8_device, read) // From main CPU
AM_RANGE(0xb000, 0xb00d) AM_DEVREADWRITE("k007232", k007232_device, read, write) // K007232 (Reading offset 5/b triggers the sample)
AM_RANGE(0xc000, 0xc001) AM_DEVREADWRITE("ymsnd", ym2151_device, read, write)