summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-12 17:17:10 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 17:29:46 +0100
commit582f323c2dbe415c5816fbaa6bcc9bd78d1b47d2 (patch)
treec44439cf604814649c56c42f40a916fe7f60420f /src
parent20376d4d5e519c101b29faccbfba6d5e36b71ca4 (diff)
A handful of fixes (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/tms7000/tms7000.cpp2
-rw-r--r--src/mame/drivers/amiga.cpp4
-rw-r--r--src/mame/drivers/apexc.cpp12
-rw-r--r--src/mame/drivers/buster.cpp2
-rw-r--r--src/mame/drivers/calchase.cpp3
-rw-r--r--src/mame/drivers/cdi.cpp2
-rw-r--r--src/mame/drivers/fastfred.cpp2
-rw-r--r--src/mame/drivers/gammagic.cpp3
-rw-r--r--src/mame/drivers/jangou.cpp2
-rw-r--r--src/mame/drivers/liberate.cpp2
-rw-r--r--src/mame/drivers/ltcasino.cpp2
-rw-r--r--src/mame/drivers/metalmx.cpp2
-rw-r--r--src/mame/drivers/mlanding.cpp1
-rw-r--r--src/mame/drivers/namcos21.cpp2
-rw-r--r--src/mame/drivers/nmk16.cpp4
-rw-r--r--src/mame/drivers/scobra.cpp3
-rw-r--r--src/mame/drivers/scramble.cpp3
-rw-r--r--src/mame/drivers/seabattl.cpp2
-rw-r--r--src/mame/drivers/srmp5.cpp2
-rw-r--r--src/mame/drivers/supracan.cpp2
-rw-r--r--src/mame/drivers/system16.cpp2
-rw-r--r--src/mame/drivers/taito.cpp2
-rw-r--r--src/mame/drivers/ti89.cpp2
-rw-r--r--src/mame/drivers/tnzs.cpp1
-rw-r--r--src/mame/drivers/voyager.cpp3
-rw-r--r--src/mame/drivers/williams.cpp7
26 files changed, 31 insertions, 43 deletions
diff --git a/src/devices/cpu/tms7000/tms7000.cpp b/src/devices/cpu/tms7000/tms7000.cpp
index 6757cc66e45..98bd1a69e40 100644
--- a/src/devices/cpu/tms7000/tms7000.cpp
+++ b/src/devices/cpu/tms7000/tms7000.cpp
@@ -55,8 +55,8 @@ DEFINE_DEVICE_TYPE(TMS70C46, tms70c46_device, "tms70c46", "TMC70C46")
ADDRESS_MAP_START(tms7000_device::tms7000_mem)
AM_RANGE(0x0000, 0x007f) AM_RAM // 128 bytes internal RAM
AM_RANGE(0x0080, 0x00ff) AM_READWRITE(tms7000_unmapped_rf_r, tms7000_unmapped_rf_w)
- AM_RANGE(0x0104, 0x0105) AM_WRITENOP // no port A write or ddr
AM_RANGE(0x0100, 0x010b) AM_READWRITE(tms7000_pf_r, tms7000_pf_w)
+ AM_RANGE(0x0104, 0x0105) AM_WRITENOP // no port A write or ddr
ADDRESS_MAP_END
ADDRESS_MAP_START(tms7000_device::tms7001_mem)
diff --git a/src/mame/drivers/amiga.cpp b/src/mame/drivers/amiga.cpp
index 94ebe009ce8..c1542c1903d 100644
--- a/src/mame/drivers/amiga.cpp
+++ b/src/mame/drivers/amiga.cpp
@@ -1057,7 +1057,7 @@ ADDRESS_MAP_START(a2000_state::a2000_mem)
AM_RANGE(0xc80000, 0xd7ffff) AM_READWRITE(custom_chip_r, custom_chip_w)
AM_RANGE(0xd80000, 0xdbffff) AM_NOP
AM_RANGE(0xdc0000, 0xdc7fff) AM_READWRITE(clock_r, clock_w)
- AM_RANGE(0xd80000, 0xddffff) AM_NOP
+ AM_RANGE(0xdc8000, 0xddffff) AM_NOP
AM_RANGE(0xde0000, 0xdeffff) AM_READWRITE(custom_chip_r, custom_chip_w)
AM_RANGE(0xdf0000, 0xdfffff) AM_READWRITE(custom_chip_r, custom_chip_w)
AM_RANGE(0xe00000, 0xe7ffff) AM_WRITENOP AM_READ(rom_mirror_r)
@@ -1128,7 +1128,7 @@ ADDRESS_MAP_START(a500p_state::a500p_mem)
AM_RANGE(0xc80000, 0xd7ffff) AM_READWRITE(custom_chip_r, custom_chip_w)
AM_RANGE(0xd80000, 0xdbffff) AM_NOP
AM_RANGE(0xdc0000, 0xdc7fff) AM_READWRITE(clock_r, clock_w)
- AM_RANGE(0xd80000, 0xddffff) AM_NOP
+ AM_RANGE(0xdc8000, 0xddffff) AM_NOP
AM_RANGE(0xde0000, 0xdeffff) AM_READWRITE(custom_chip_r, custom_chip_w)
AM_RANGE(0xdf0000, 0xdfffff) AM_READWRITE(custom_chip_r, custom_chip_w)
AM_RANGE(0xe00000, 0xe7ffff) AM_WRITENOP AM_READ(rom_mirror_r)
diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp
index a1804dde795..5d202fe0bd9 100644
--- a/src/mame/drivers/apexc.cpp
+++ b/src/mame/drivers/apexc.cpp
@@ -114,7 +114,7 @@ image_init_result apexc_cylinder_image_device::call_load()
/* load RAM contents */
m_writable = !is_readonly();
- fread( machine().root_device().memregion("maincpu")->base(), 0x1000);
+ fread( machine().root_device().memshare("maincpu")->ptr(), 0x1000);
#ifdef LSB_FIRST
{ /* fix endianness */
uint32_t *RAM = (uint32_t *)(machine().root_device().memregion("maincpu")->base());
@@ -845,13 +845,8 @@ GFXDECODE_END
ADDRESS_MAP_START(apexc_state::apexc_mem_map)
-#if 0
- AM_RANGE(0x0000, 0x03ff) AM_RAM /* 1024 32-bit words (expandable to 8192) */
- AM_RANGE(0x0400, 0x1fff) AM_NOP
-#else
- AM_RANGE(0x0000, 0x0fff) AM_RAM AM_REGION("maincpu", 0x0000)
+ AM_RANGE(0x0000, 0x0fff) AM_RAM AM_SHARE("maincpu")
AM_RANGE(0x1000, 0x7fff) AM_NOP
-#endif
ADDRESS_MAP_END
@@ -888,8 +883,7 @@ MACHINE_CONFIG_END
ROM_START(apexc)
/*CPU memory space*/
- ROM_REGION32_BE(0x10000, "maincpu", ROMREGION_ERASEFF)
- /* Note this computer has no ROM... */
+ /* Note this computer has no ROM... */
ROM_REGION(apexcfontdata_size, "chargen", ROMREGION_ERASEFF)
/* space filled with our font */
diff --git a/src/mame/drivers/buster.cpp b/src/mame/drivers/buster.cpp
index a9e68e6fba2..4ce04d72013 100644
--- a/src/mame/drivers/buster.cpp
+++ b/src/mame/drivers/buster.cpp
@@ -76,6 +76,7 @@ ADDRESS_MAP_START(buster_state::mainmap)
AM_RANGE(0x5000, 0x5fff) AM_RAM AM_SHARE("vram")
AM_RANGE(0x6000, 0x6000) AM_DEVWRITE("crtc", mc6845_device, address_w)
AM_RANGE(0x6001, 0x6001) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w)
+ AM_RANGE(0x7c00, 0x7cff) AM_RAM // ???
AM_RANGE(0x7c80, 0x7c80) AM_READ_PORT("IN0")
AM_RANGE(0x7c82, 0x7c82) AM_READ_PORT("IN1")
AM_RANGE(0x7c84, 0x7c84) AM_READ_PORT("IN2")
@@ -84,7 +85,6 @@ ADDRESS_MAP_START(buster_state::mainmap)
AM_RANGE(0x7c8a, 0x7c8a) AM_READ_PORT("IN5")
AM_RANGE(0x7c8c, 0x7c8c) AM_READ_PORT("IN6")
AM_RANGE(0x7c8e, 0x7c8e) AM_READ_PORT("IN7")
- AM_RANGE(0x7c00, 0x7cff) AM_RAM // ???
AM_RANGE(0x8800, 0x8fff) AM_RAM AM_SHARE("wram")//AM_READ(test_r) // ???
AM_RANGE(0xa000, 0xa0ff) AM_RAM // nvram?
ADDRESS_MAP_END
diff --git a/src/mame/drivers/calchase.cpp b/src/mame/drivers/calchase.cpp
index fcf7e4a9bb7..5fd1542d5c7 100644
--- a/src/mame/drivers/calchase.cpp
+++ b/src/mame/drivers/calchase.cpp
@@ -405,7 +405,7 @@ ADDRESS_MAP_START(calchase_state::calchase_map)
AM_RANGE(0x000e0000, 0x000effff) AM_ROMBANK("bios_ext") AM_WRITE(bios_ext_ram_w)
AM_RANGE(0x000f0000, 0x000fffff) AM_ROMBANK("bios_bank") AM_WRITE(bios_ram_w)
AM_RANGE(0x00100000, 0x03ffffff) AM_RAM // 64MB
- AM_RANGE(0x02000000, 0x28ffffff) AM_NOP
+ AM_RANGE(0x04000000, 0x28ffffff) AM_NOP
//AM_RANGE(0x04000000, 0x040001ff) AM_RAM
//AM_RANGE(0x08000000, 0x080001ff) AM_RAM
//AM_RANGE(0x0c000000, 0x0c0001ff) AM_RAM
@@ -430,7 +430,6 @@ ADDRESS_MAP_START(calchase_state::calchase_io)
AM_RANGE(0x02a0, 0x02a7) AM_NOP //To debug
AM_RANGE(0x02c0, 0x02c7) AM_NOP //To debug
AM_RANGE(0x02e0, 0x02ef) AM_NOP //To debug
- AM_RANGE(0x0278, 0x02ff) AM_NOP //To debug
AM_RANGE(0x02f8, 0x02ff) AM_NOP //To debug
AM_RANGE(0x0320, 0x038f) AM_NOP //To debug
AM_RANGE(0x03a0, 0x03a7) AM_NOP //To debug
diff --git a/src/mame/drivers/cdi.cpp b/src/mame/drivers/cdi.cpp
index a7de95fb5b6..9059d09632e 100644
--- a/src/mame/drivers/cdi.cpp
+++ b/src/mame/drivers/cdi.cpp
@@ -81,7 +81,7 @@ ADDRESS_MAP_START(cdi_state::cdimono1_mem)
AM_RANGE(0x00400000, 0x0047ffff) AM_ROM AM_REGION("maincpu", 0)
AM_RANGE(0x004fffe0, 0x004fffff) AM_DEVREADWRITE("mcd212", mcd212_device, regs_r, regs_w)
AM_RANGE(0x00500000, 0x0057ffff) AM_RAM
- AM_RANGE(0x00500000, 0x00ffffff) AM_NOP
+ AM_RANGE(0x00580000, 0x00ffffff) AM_NOP
AM_RANGE(0x00e00000, 0x00efffff) AM_RAM // DVC
AM_RANGE(0x80000000, 0x8000807f) AM_DEVREADWRITE("scc68070", cdi68070_device, periphs_r, periphs_w)
ADDRESS_MAP_END
diff --git a/src/mame/drivers/fastfred.cpp b/src/mame/drivers/fastfred.cpp
index 8963763a77a..afb15051256 100644
--- a/src/mame/drivers/fastfred.cpp
+++ b/src/mame/drivers/fastfred.cpp
@@ -196,8 +196,8 @@ ADDRESS_MAP_START(fastfred_state::fastfred_map)
AM_RANGE(0xd860, 0xdbff) AM_RAM // Unused, but initialized
AM_RANGE(0xe000, 0xe000) AM_READ_PORT("BUTTONS") AM_WRITEONLY AM_SHARE("bgcolor")
AM_RANGE(0xe800, 0xe800) AM_READ_PORT("JOYS")
- AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW") AM_WRITENOP
AM_RANGE(0xf000, 0xf007) AM_MIRROR(0x07f8) AM_DEVWRITE("outlatch", ls259_device, write_d0)
+ AM_RANGE(0xf000, 0xf000) AM_READ_PORT("DSW") AM_WRITENOP
AM_RANGE(0xf800, 0xf800) AM_DEVREAD("watchdog", watchdog_timer_device, reset_r) AM_DEVWRITE("soundlatch", generic_latch_8_device, write)
ADDRESS_MAP_END
diff --git a/src/mame/drivers/gammagic.cpp b/src/mame/drivers/gammagic.cpp
index 9127d41d11e..5ab99ffd906 100644
--- a/src/mame/drivers/gammagic.cpp
+++ b/src/mame/drivers/gammagic.cpp
@@ -64,10 +64,11 @@ ADDRESS_MAP_START(gammagic_state::gammagic_io)
AM_IMPORT_FROM(pcat32_io_common)
AM_RANGE(0x00e8, 0x00ef) AM_NOP
AM_RANGE(0x00f0, 0x01ef) AM_NOP
- AM_RANGE(0x01f8, 0x03ef) AM_NOP
+ AM_RANGE(0x01f8, 0x03af) AM_NOP
AM_RANGE(0x03b0, 0x03bf) AM_DEVREADWRITE8("vga", vga_device, port_03b0_r, port_03b0_w, 0xffffffff)
AM_RANGE(0x03c0, 0x03cf) AM_DEVREADWRITE8("vga", vga_device, port_03c0_r, port_03c0_w, 0xffffffff)
AM_RANGE(0x03d0, 0x03df) AM_DEVREADWRITE8("vga", vga_device, port_03d0_r, port_03d0_w, 0xffffffff)
+ AM_RANGE(0x03e0, 0x03ef) AM_NOP
AM_RANGE(0x0cf8, 0x0cff) AM_DEVREADWRITE("pcibus", pci_bus_legacy_device, read, write)
AM_RANGE(0x0400, 0xffff) AM_NOP
ADDRESS_MAP_END
diff --git a/src/mame/drivers/jangou.cpp b/src/mame/drivers/jangou.cpp
index a60df09a0d3..cb3d223d0e4 100644
--- a/src/mame/drivers/jangou.cpp
+++ b/src/mame/drivers/jangou.cpp
@@ -444,8 +444,8 @@ ADDRESS_MAP_START(jangou_state::roylcrdn_cpu0_io)
AM_RANGE(0x10,0x10) AM_READ_PORT("DSW") /* DSW + blitter busy flag */
AM_RANGE(0x10,0x10) AM_WRITENOP /* Writes continuosly 0's in attract mode, and 1's in game */
AM_RANGE(0x11,0x11) AM_WRITE(mux_w)
- AM_RANGE(0x13,0x13) AM_READNOP /* Often reads bit7 with unknown purposes */
AM_RANGE(0x12,0x17) AM_DEVICE("blitter",jangou_blitter_device, blit_v1_regs)
+ AM_RANGE(0x13,0x13) AM_READNOP /* Often reads bit7 with unknown purposes */
AM_RANGE(0x20,0x2f) AM_DEVWRITE("blitter",jangou_blitter_device, vregs_w)
AM_RANGE(0x30,0x30) AM_WRITENOP /* Seems to write 0x10 on each sound event */
ADDRESS_MAP_END
diff --git a/src/mame/drivers/liberate.cpp b/src/mame/drivers/liberate.cpp
index 4855c7d2efb..3b88d451245 100644
--- a/src/mame/drivers/liberate.cpp
+++ b/src/mame/drivers/liberate.cpp
@@ -303,13 +303,13 @@ ADDRESS_MAP_START(liberate_state::liberatb_map)
AM_RANGE(0x4400, 0x47ff) AM_WRITE(liberate_videoram_w) AM_SHARE("videoram")
AM_RANGE(0x4800, 0x4fff) AM_WRITEONLY AM_SHARE("spriteram")
AM_RANGE(0x6200, 0x67ff) AM_WRITEONLY AM_SHARE("scratchram")
+ AM_RANGE(0x8000, 0xffff) AM_ROM
AM_RANGE(0xf000, 0xf00f) AM_WRITE(deco16_io_w)
AM_RANGE(0xf000, 0xf000) AM_READ_PORT("IN1")
AM_RANGE(0xf001, 0xf001) AM_READ_PORT("IN2")
AM_RANGE(0xf002, 0xf002) AM_READ_PORT("IN3")
AM_RANGE(0xf003, 0xf003) AM_READ_PORT("DSW1")
AM_RANGE(0xf004, 0xf004) AM_READ_PORT("DSW2")
- AM_RANGE(0x8000, 0xffff) AM_ROM
ADDRESS_MAP_END
/*************************************
diff --git a/src/mame/drivers/ltcasino.cpp b/src/mame/drivers/ltcasino.cpp
index b63f0e530e7..b63d841a0fa 100644
--- a/src/mame/drivers/ltcasino.cpp
+++ b/src/mame/drivers/ltcasino.cpp
@@ -99,8 +99,8 @@ ADDRESS_MAP_START(ltcasino_state::ltcasino_map)
AM_RANGE(0xec20, 0xec20) AM_DEVREAD("aysnd", ay8910_device, data_r)
AM_RANGE(0xec21, 0xec21) AM_READ_PORT("BUTTONS") //ltcasino -> pc: F3F3 (A in service) and F3FD (B in service)
AM_RANGE(0xec20, 0xec21) AM_DEVWRITE("aysnd", ay8910_device, data_address_w)
- AM_RANGE(0xec3e, 0xec3e) AM_READNOP //not used
AM_RANGE(0xec30, 0xec3f) AM_RAM
+ AM_RANGE(0xec3e, 0xec3e) AM_READNOP //not used
AM_RANGE(0xf000, 0xffff) AM_ROM
ADDRESS_MAP_END
diff --git a/src/mame/drivers/metalmx.cpp b/src/mame/drivers/metalmx.cpp
index 0bb4dadfcd0..4bc40346486 100644
--- a/src/mame/drivers/metalmx.cpp
+++ b/src/mame/drivers/metalmx.cpp
@@ -512,7 +512,7 @@ ADDRESS_MAP_START(metalmx_state::main_map)
AM_RANGE(0x600000, 0x6fffff) AM_READWRITE(host_dram_r, host_dram_w)
AM_RANGE(0x700000, 0x7fffff) AM_READWRITE(host_vram_r, host_vram_w)
AM_RANGE(0x800000, 0x80001f) AM_READWRITE(dsp32c_2_r, dsp32c_2_w)
- AM_RANGE(0x800000, 0x85ffff) AM_NOP /* Unknown */
+ AM_RANGE(0x800020, 0x85ffff) AM_NOP /* Unknown */
AM_RANGE(0x880000, 0x88001f) AM_READWRITE(dsp32c_1_r, dsp32c_1_w)
AM_RANGE(0x980000, 0x9800ff) AM_WRITE(reset_w)
AM_RANGE(0xb40000, 0xb40003) AM_READWRITE(sound_data_r, sound_data_w)
diff --git a/src/mame/drivers/mlanding.cpp b/src/mame/drivers/mlanding.cpp
index 754e23ba524..d729529f6fc 100644
--- a/src/mame/drivers/mlanding.cpp
+++ b/src/mame/drivers/mlanding.cpp
@@ -818,7 +818,6 @@ ADDRESS_MAP_START(mlanding_state::mecha_map_prog)
AM_RANGE(0x0000, 0x7fff) AM_ROM
AM_RANGE(0x8000, 0x87ff) AM_RAM
AM_RANGE(0x8800, 0x8fff) AM_RAM AM_SHARE("power_ram")
- AM_RANGE(0x9000, 0x9001) AM_WRITENOP
AM_RANGE(0x9000, 0x9003) AM_WRITENOP
AM_RANGE(0x9800, 0x9805) AM_READ(motor_r)
ADDRESS_MAP_END
diff --git a/src/mame/drivers/namcos21.cpp b/src/mame/drivers/namcos21.cpp
index cd832de261f..5bd3d85123c 100644
--- a/src/mame/drivers/namcos21.cpp
+++ b/src/mame/drivers/namcos21.cpp
@@ -1525,10 +1525,10 @@ ADDRESS_MAP_START(namcos21_state::sound_map)
AM_RANGE(0x7800, 0x7fff) AM_READWRITE(namcos2_dualportram_byte_r,namcos2_dualportram_byte_w) /* mirror */
AM_RANGE(0x8000, 0x9fff) AM_RAM
AM_RANGE(0xa000, 0xbfff) AM_WRITENOP /* amplifier enable on 1st write */
+ AM_RANGE(0xc000, 0xffff) AM_WRITENOP /* avoid debug log noise; games write frequently to 0xe000 */
AM_RANGE(0xc000, 0xc001) AM_WRITE(namcos2_sound_bankselect_w)
AM_RANGE(0xd001, 0xd001) AM_WRITENOP /* watchdog */
AM_RANGE(0xd000, 0xffff) AM_ROM
- AM_RANGE(0xc000, 0xffff) AM_WRITENOP /* avoid debug log noise; games write frequently to 0xe000 */
ADDRESS_MAP_END
diff --git a/src/mame/drivers/nmk16.cpp b/src/mame/drivers/nmk16.cpp
index bafad7598b8..7edc70bace2 100644
--- a/src/mame/drivers/nmk16.cpp
+++ b/src/mame/drivers/nmk16.cpp
@@ -5033,9 +5033,9 @@ ADDRESS_MAP_START(nmk16_state::afega_map)
AM_RANGE(0x080012, 0x080013) AM_READ(afega_unknown_r)
AM_RANGE(0x080000, 0x08001d) AM_WRITEONLY //
AM_RANGE(0x08001e, 0x08001f) AM_WRITE(afega_soundlatch_w) // To Sound CPU
+ AM_RANGE(0x080020, 0x087fff) AM_WRITEONLY //
/**/AM_RANGE(0x084000, 0x084003) AM_RAM_WRITE(afega_scroll0_w) // Scroll on redhawkb (mirror or changed?..)
/**/AM_RANGE(0x084004, 0x084007) AM_RAM_WRITE(afega_scroll1_w) // Scroll on redhawkb (mirror or changed?..)
- AM_RANGE(0x080020, 0x087fff) AM_WRITEONLY //
/**/AM_RANGE(0x088000, 0x0885ff) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette") // Palette
AM_RANGE(0x088600, 0x08bfff) AM_WRITEONLY //
/**/AM_RANGE(0x08c000, 0x08c003) AM_RAM_WRITE(afega_scroll0_w) AM_SHARE("afega_scroll_0") // Scroll
@@ -5058,9 +5058,9 @@ ADDRESS_MAP_START(nmk16_state::firehawk_map)
AM_RANGE(0x280012, 0x280013) AM_READ(afega_unknown_r)
AM_RANGE(0x280000, 0x28001d) AM_WRITEONLY //
AM_RANGE(0x28001e, 0x28001f) AM_WRITE(afega_soundlatch_w) // To Sound CPU
+ AM_RANGE(0x280020, 0x287fff) AM_WRITEONLY //
/**/AM_RANGE(0x284000, 0x284003) AM_RAM_WRITE(afega_scroll0_w) // Scroll on redhawkb (mirror or changed?..)
/**/AM_RANGE(0x284004, 0x284007) AM_RAM_WRITE(afega_scroll1_w) // Scroll on redhawkb (mirror or changed?..)
- AM_RANGE(0x280020, 0x287fff) AM_WRITEONLY //
/**/AM_RANGE(0x288000, 0x2885ff) AM_RAM_DEVWRITE("palette", palette_device, write16) AM_SHARE("palette") // Palette
AM_RANGE(0x288600, 0x28bfff) AM_WRITEONLY //
/**/AM_RANGE(0x28c000, 0x28c003) AM_RAM_WRITE(afega_scroll0_w) AM_SHARE("afega_scroll_0") // Scroll
diff --git a/src/mame/drivers/scobra.cpp b/src/mame/drivers/scobra.cpp
index 159c2ffd4c5..b6397a23b5b 100644
--- a/src/mame/drivers/scobra.cpp
+++ b/src/mame/drivers/scobra.cpp
@@ -328,8 +328,7 @@ WRITE8_MEMBER(scobra_state::scobra_soundram_w)
ADDRESS_MAP_START(scobra_state::scobra_sound_map)
AM_RANGE(0x0000, 0x2fff) AM_ROM
- AM_RANGE(0x8000, 0x83ff) AM_WRITENOP AM_SHARE("soundram") /* only here to initialize pointer */
- AM_RANGE(0x8000, 0x8fff) AM_READWRITE(scobra_soundram_r, scobra_soundram_w)
+ AM_RANGE(0x8000, 0x8fff) AM_READWRITE(scobra_soundram_r, scobra_soundram_w) AM_SHARE("soundram")
AM_RANGE(0x9000, 0x9fff) AM_WRITE(scramble_filter_w)
ADDRESS_MAP_END
diff --git a/src/mame/drivers/scramble.cpp b/src/mame/drivers/scramble.cpp
index f59432b2946..d06ce766d45 100644
--- a/src/mame/drivers/scramble.cpp
+++ b/src/mame/drivers/scramble.cpp
@@ -73,8 +73,7 @@ WRITE8_MEMBER(scramble_state::scramble_soundram_w)
ADDRESS_MAP_START(scramble_state::scramble_sound_map)
AM_RANGE(0x0000, 0x2fff) AM_ROM
- AM_RANGE(0x8000, 0x83ff) AM_WRITENOP AM_SHARE("soundram") /* only here to initialize pointer */
- AM_RANGE(0x8000, 0x8fff) AM_READWRITE(scramble_soundram_r, scramble_soundram_w)
+ AM_RANGE(0x8000, 0x8fff) AM_READWRITE(scramble_soundram_r, scramble_soundram_w) AM_SHARE("soundram")
AM_RANGE(0x9000, 0x9fff) AM_WRITE(scramble_filter_w)
ADDRESS_MAP_END
diff --git a/src/mame/drivers/seabattl.cpp b/src/mame/drivers/seabattl.cpp
index da09ec3b6df..b062c859a81 100644
--- a/src/mame/drivers/seabattl.cpp
+++ b/src/mame/drivers/seabattl.cpp
@@ -266,8 +266,8 @@ ADDRESS_MAP_START(seabattl_state::seabattl_map)
AM_RANGE(0x1e05, 0x1e05) AM_MIRROR(0x20f0) AM_READ_PORT("DIPS2")
AM_RANGE(0x1e06, 0x1e06) AM_MIRROR(0x20f0) AM_READ_PORT("DIPS1") AM_WRITE(sound_w)
AM_RANGE(0x1e07, 0x1e07) AM_MIRROR(0x20f0) AM_READ_PORT("DIPS0") AM_WRITE(sound2_w)
- AM_RANGE(0x1fcc, 0x1fcc) AM_MIRROR(0x2000) AM_READ_PORT("IN1")
AM_RANGE(0x1f00, 0x1fff) AM_MIRROR(0x2000) AM_DEVREADWRITE("s2636", s2636_device, read_data, write_data)
+ AM_RANGE(0x1fcc, 0x1fcc) AM_MIRROR(0x2000) AM_READ_PORT("IN1")
ADDRESS_MAP_END
ADDRESS_MAP_START(seabattl_state::seabattl_data_map)
diff --git a/src/mame/drivers/srmp5.cpp b/src/mame/drivers/srmp5.cpp
index 3c1f844c9b5..6c13d78978a 100644
--- a/src/mame/drivers/srmp5.cpp
+++ b/src/mame/drivers/srmp5.cpp
@@ -379,8 +379,8 @@ ADDRESS_MAP_START(srmp5_state::srmp5_mem)
AM_RANGE(0x0a000000, 0x0a0fffff) AM_READWRITE(spr_r, spr_w)
AM_RANGE(0x0a100000, 0x0a17ffff) AM_DEVREADWRITE16("palette", palette_device, read16, write16, 0x0000ffff) AM_SHARE("palette")
//0?N???A?????????i??????????
- AM_RANGE(0x0a180000, 0x0a180003) AM_READNOP // write 0x00000400
AM_RANGE(0x0a180000, 0x0a18011f) AM_READWRITE(srmp5_vidregs_r, srmp5_vidregs_w)
+ AM_RANGE(0x0a180000, 0x0a180003) AM_READNOP // write 0x00000400
AM_RANGE(0x0a200000, 0x0a3fffff) AM_READWRITE(tileram_r, tileram_w)
AM_RANGE(0x0fc00000, 0x0fdfffff) AM_MIRROR(0x10000000) AM_ROM AM_REGION("sub", 0)
diff --git a/src/mame/drivers/supracan.cpp b/src/mame/drivers/supracan.cpp
index dceec793535..b247471a48f 100644
--- a/src/mame/drivers/supracan.cpp
+++ b/src/mame/drivers/supracan.cpp
@@ -1120,11 +1120,11 @@ WRITE16_MEMBER( supracan_state::vram_w )
ADDRESS_MAP_START(supracan_state::supracan_mem)
//AM_RANGE( 0x000000, 0x3fffff ) // mapped by the cartslot
+ AM_RANGE( 0xe80000, 0xe8ffff ) AM_READWRITE(_68k_soundram_r, _68k_soundram_w)
AM_RANGE( 0xe80200, 0xe80201 ) AM_READ_PORT("P1")
AM_RANGE( 0xe80202, 0xe80203 ) AM_READ_PORT("P2")
AM_RANGE( 0xe80208, 0xe80209 ) AM_READ_PORT("P3")
AM_RANGE( 0xe8020c, 0xe8020d ) AM_READ_PORT("P4")
- AM_RANGE( 0xe80000, 0xe8ffff ) AM_READWRITE(_68k_soundram_r, _68k_soundram_w)
AM_RANGE( 0xe90000, 0xe9001f ) AM_READWRITE(sound_r, sound_w)
AM_RANGE( 0xe90020, 0xe9002f ) AM_WRITE(dma_channel0_w)
AM_RANGE( 0xe90030, 0xe9003f ) AM_WRITE(dma_channel1_w)
diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp
index 8e585f6a9dd..b854a3fe138 100644
--- a/src/mame/drivers/system16.cpp
+++ b/src/mame/drivers/system16.cpp
@@ -1102,8 +1102,6 @@ ADDRESS_MAP_START(segas1x_bootleg_state::shdancbl_map)
AM_RANGE(0xc41004, 0xc41005) AM_READ_PORT("P2")
AM_RANGE(0xc44000, 0xc44001) AM_WRITENOP // only used via clr.w after tilebank set
-
- AM_RANGE(0xe4001c, 0xe4001d) AM_WRITENOP // to prevent access to screen blanking control below
AM_RANGE(0xe40000, 0xe4ffff) AM_NOP
AM_RANGE(0xfe0020, 0xfe003f) AM_WRITENOP // config regs
AM_RANGE(0xffc000, 0xffffff) AM_RAM
diff --git a/src/mame/drivers/taito.cpp b/src/mame/drivers/taito.cpp
index af3fd4f640c..bcb1d091f44 100644
--- a/src/mame/drivers/taito.cpp
+++ b/src/mame/drivers/taito.cpp
@@ -120,7 +120,7 @@ ADDRESS_MAP_START(taito_state::taito_map)
AM_RANGE(0x283a, 0x283a) AM_MIRROR(0x0080) AM_READ_PORT("X2")
AM_RANGE(0x283b, 0x283b) AM_MIRROR(0x0080) AM_READ_PORT("X3")
AM_RANGE(0x283c, 0x283c) AM_MIRROR(0x0080) AM_READ_PORT("X4")
- AM_RANGE(0x283b, 0x283d) AM_MIRROR(0x0080) AM_READ_PORT("X5")
+ AM_RANGE(0x283d, 0x283d) AM_MIRROR(0x0080) AM_READ_PORT("X5")
AM_RANGE(0x283e, 0x283e) AM_MIRROR(0x0080) AM_READ_PORT("X6")
AM_RANGE(0x283f, 0x283f) AM_MIRROR(0x0080) AM_READ_PORT("X7")
AM_RANGE(0x4000, 0x407f) AM_RAM
diff --git a/src/mame/drivers/ti89.cpp b/src/mame/drivers/ti89.cpp
index 0f8c58c3bda..6b37c068f80 100644
--- a/src/mame/drivers/ti89.cpp
+++ b/src/mame/drivers/ti89.cpp
@@ -239,7 +239,7 @@ ADDRESS_MAP_START(ti68k_state::ti89t_mem)
AM_RANGE(0x600000, 0x6fffff) AM_READWRITE(ti68k_io_r, ti68k_io_w)
AM_RANGE(0x700000, 0x70ffff) AM_READWRITE(ti68k_io2_r, ti68k_io2_w)
AM_RANGE(0x800000, 0xbfffff) AM_READWRITE(flash_r, flash_w)
- AM_RANGE(0xbf0000, 0xffffff) AM_NOP
+ AM_RANGE(0xc00000, 0xffffff) AM_NOP
ADDRESS_MAP_END
diff --git a/src/mame/drivers/tnzs.cpp b/src/mame/drivers/tnzs.cpp
index 2788d9acc25..372ccb6077a 100644
--- a/src/mame/drivers/tnzs.cpp
+++ b/src/mame/drivers/tnzs.cpp
@@ -809,7 +809,6 @@ ADDRESS_MAP_END
ADDRESS_MAP_START(tnzsb_state::tnzsb_sub_map)
AM_IMPORT_FROM(tnzsb_base_sub_map)
- AM_RANGE(0xf000, 0xf003) AM_READONLY
AM_RANGE(0xf000, 0xf3ff) AM_RAM_DEVWRITE("palette", palette_device, write8) AM_SHARE("palette")
ADDRESS_MAP_END
diff --git a/src/mame/drivers/voyager.cpp b/src/mame/drivers/voyager.cpp
index f485221a22c..91097785d8b 100644
--- a/src/mame/drivers/voyager.cpp
+++ b/src/mame/drivers/voyager.cpp
@@ -251,7 +251,7 @@ ADDRESS_MAP_START(voyager_state::voyager_map)
AM_RANGE(0x000e0000, 0x000fffff) AM_ROMBANK("bank1")
AM_RANGE(0x000e0000, 0x000fffff) AM_WRITE(bios_ram_w)
AM_RANGE(0x00100000, 0x03ffffff) AM_RAM // 64MB
- AM_RANGE(0x02000000, 0x28ffffff) AM_NOP
+ AM_RANGE(0x04000000, 0x28ffffff) AM_NOP
//AM_RANGE(0x04000000, 0x040001ff) AM_RAM
//AM_RANGE(0x08000000, 0x080001ff) AM_RAM
//AM_RANGE(0x0c000000, 0x0c0001ff) AM_RAM
@@ -277,7 +277,6 @@ ADDRESS_MAP_START(voyager_state::voyager_io)
AM_RANGE(0x02a0, 0x02a7) AM_NOP //To debug
AM_RANGE(0x02c0, 0x02c7) AM_NOP //To debug
AM_RANGE(0x02e0, 0x02ef) AM_NOP //To debug
- AM_RANGE(0x0278, 0x02ff) AM_NOP //To debug
AM_RANGE(0x02f8, 0x02ff) AM_NOP //To debug
AM_RANGE(0x0320, 0x038f) AM_NOP //To debug
AM_RANGE(0x03a0, 0x03a7) AM_NOP //To debug
diff --git a/src/mame/drivers/williams.cpp b/src/mame/drivers/williams.cpp
index 3aa8dd32add..e34dddddce9 100644
--- a/src/mame/drivers/williams.cpp
+++ b/src/mame/drivers/williams.cpp
@@ -597,9 +597,10 @@ ADDRESS_MAP_END
ADDRESS_MAP_START(blaster_state::blaster_map)
AM_RANGE(0x0000, 0x3fff) AM_READ_BANK("bank1") AM_WRITEONLY AM_SHARE("videoram")
AM_RANGE(0x4000, 0x8fff) AM_READ_BANK("bank2") AM_WRITEONLY
- AM_RANGE(0xbb00, 0xbbff) AM_WRITEONLY AM_SHARE("blaster_pal0")
- AM_RANGE(0xbc00, 0xbcff) AM_WRITEONLY AM_SHARE("blaster_scan")
- AM_RANGE(0x9000, 0xbfff) AM_RAM
+ AM_RANGE(0x9000, 0xbaff) AM_RAM
+ AM_RANGE(0xbb00, 0xbbff) AM_RAM AM_SHARE("blaster_pal0")
+ AM_RANGE(0xbc00, 0xbcff) AM_RAM AM_SHARE("blaster_scan")
+ AM_RANGE(0xbd00, 0xbfff) AM_RAM
AM_RANGE(0xc000, 0xc00f) AM_MIRROR(0x03f0) AM_WRITEONLY AM_SHARE("paletteram")
AM_RANGE(0xc804, 0xc807) AM_MIRROR(0x00f0) AM_DEVREADWRITE("pia_0", pia6821_device, read, write)
AM_RANGE(0xc80c, 0xc80f) AM_MIRROR(0x00f0) AM_DEVREADWRITE("pia_1", pia6821_device, read, write)