summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-09-04 18:04:24 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-09-04 18:04:24 -0400
commit79a1cdaff0f369dd0b0428cfeb44ee8b1f6ece71 (patch)
tree581092eba55f0007589dc979bec67d9bf43192c1
parente2e90ded4f7664635665e79997a5d564ade2c0ff (diff)
bingowav: TE7750 mapping (nw)
-rw-r--r--src/mame/drivers/bingowav.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mame/drivers/bingowav.cpp b/src/mame/drivers/bingowav.cpp
index 3cf09064909..d0894a90e6e 100644
--- a/src/mame/drivers/bingowav.cpp
+++ b/src/mame/drivers/bingowav.cpp
@@ -41,6 +41,8 @@ void bingowav_state::machine_start()
static ADDRESS_MAP_START( bingowav_main_map, AS_PROGRAM, 16, bingowav_state )
AM_RANGE(0x000000, 0x03ffff) AM_ROM
AM_RANGE(0x100000, 0x10ffff) AM_RAM
+ AM_RANGE(0x120000, 0x12001f) AM_DEVREADWRITE8("mainioh", te7750_device, read, write, 0xff00)
+ AM_RANGE(0x120000, 0x12001f) AM_DEVREADWRITE8("mainiol", te7750_device, read, write, 0x00ff)
AM_RANGE(0x140000, 0x140001) AM_READNOP
AM_RANGE(0xfffc00, 0xffffff) AM_DEVREADWRITE("maintmp", tmp68301_device, regs_r, regs_w)
ADDRESS_MAP_END
@@ -75,9 +77,11 @@ static MACHINE_CONFIG_START( bingowav )
MCFG_DEVICE_ADD("maintmp", TMP68301, 0) // wrong
- MCFG_DEVICE_ADD("mainio1", TE7750, 0)
+ MCFG_DEVICE_ADD("mainioh", TE7750, 0)
+ MCFG_TE7750_IOS_CB(CONSTANT(5))
- MCFG_DEVICE_ADD("mainio2", TE7750, 0)
+ MCFG_DEVICE_ADD("mainiol", TE7750, 0)
+ MCFG_TE7750_IOS_CB(CONSTANT(4))
MCFG_CPU_ADD("audiocpu", Z80, 4000000)
MCFG_CPU_PROGRAM_MAP(bingowav_audio_map)