summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/st0016.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/st0016.cpp')
-rw-r--r--src/mame/machine/st0016.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/machine/st0016.cpp b/src/mame/machine/st0016.cpp
index a38b3378a6b..43811264e2d 100644
--- a/src/mame/machine/st0016.cpp
+++ b/src/mame/machine/st0016.cpp
@@ -11,10 +11,10 @@ DEFINE_DEVICE_TYPE(ST0016_CPU, st0016_cpu_device, "st0016_cpu", "ST0016")
void st0016_cpu_device::st0016_cpu_internal_map(address_map &map)
{
- map(0xc000, 0xcfff).r(this, FUNC(st0016_cpu_device::st0016_sprite_ram_r)).w(this, FUNC(st0016_cpu_device::st0016_sprite_ram_w));
- map(0xd000, 0xdfff).r(this, FUNC(st0016_cpu_device::st0016_sprite2_ram_r)).w(this, FUNC(st0016_cpu_device::st0016_sprite2_ram_w));
- map(0xea00, 0xebff).r(this, FUNC(st0016_cpu_device::st0016_palette_ram_r)).w(this, FUNC(st0016_cpu_device::st0016_palette_ram_w));
- map(0xec00, 0xec1f).r(this, FUNC(st0016_cpu_device::st0016_character_ram_r)).w(this, FUNC(st0016_cpu_device::st0016_character_ram_w));
+ map(0xc000, 0xcfff).r(FUNC(st0016_cpu_device::st0016_sprite_ram_r)).w(FUNC(st0016_cpu_device::st0016_sprite_ram_w));
+ map(0xd000, 0xdfff).r(FUNC(st0016_cpu_device::st0016_sprite2_ram_r)).w(FUNC(st0016_cpu_device::st0016_sprite2_ram_w));
+ map(0xea00, 0xebff).r(FUNC(st0016_cpu_device::st0016_palette_ram_r)).w(FUNC(st0016_cpu_device::st0016_palette_ram_w));
+ map(0xec00, 0xec1f).r(FUNC(st0016_cpu_device::st0016_character_ram_r)).w(FUNC(st0016_cpu_device::st0016_character_ram_w));
map(0xe900, 0xe9ff).rw("stsnd", FUNC(st0016_device::st0016_snd_r), FUNC(st0016_device::st0016_snd_w)); /* sound regs 8 x $20 bytes, see notes */
}
@@ -22,11 +22,11 @@ void st0016_cpu_device::st0016_cpu_internal_map(address_map &map)
void st0016_cpu_device::st0016_cpu_internal_io_map(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0xbf).r(this, FUNC(st0016_cpu_device::st0016_vregs_r)).w(this, FUNC(st0016_cpu_device::st0016_vregs_w)); /* video/crt regs ? */
- map(0xe2, 0xe2).w(this, FUNC(st0016_cpu_device::st0016_sprite_bank_w));
- map(0xe3, 0xe4).w(this, FUNC(st0016_cpu_device::st0016_character_bank_w));
- map(0xe5, 0xe5).w(this, FUNC(st0016_cpu_device::st0016_palette_bank_w));
- map(0xf0, 0xf0).r(this, FUNC(st0016_cpu_device::st0016_dma_r));
+ map(0x00, 0xbf).r(FUNC(st0016_cpu_device::st0016_vregs_r)).w(FUNC(st0016_cpu_device::st0016_vregs_w)); /* video/crt regs ? */
+ map(0xe2, 0xe2).w(FUNC(st0016_cpu_device::st0016_sprite_bank_w));
+ map(0xe3, 0xe4).w(FUNC(st0016_cpu_device::st0016_character_bank_w));
+ map(0xe5, 0xe5).w(FUNC(st0016_cpu_device::st0016_palette_bank_w));
+ map(0xf0, 0xf0).r(FUNC(st0016_cpu_device::st0016_dma_r));
}
// note: a lot of bits are left uninitialized by the games, the default values are uncertain