diff options
Diffstat (limited to 'src/devices/machine/sega_scu.cpp')
-rw-r--r-- | src/devices/machine/sega_scu.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/machine/sega_scu.cpp b/src/devices/machine/sega_scu.cpp index a0c46f73a62..9443237d37a 100644 --- a/src/devices/machine/sega_scu.cpp +++ b/src/devices/machine/sega_scu.cpp @@ -118,27 +118,27 @@ DEFINE_DEVICE_TYPE(SEGA_SCU, sega_scu_device, "sega_scu", "Sega System Control U void sega_scu_device::regs_map(address_map &map) { - map(0x0000, 0x0017).rw(this, FUNC(sega_scu_device::dma_lv0_r), FUNC(sega_scu_device::dma_lv0_w)); - map(0x0020, 0x0037).rw(this, FUNC(sega_scu_device::dma_lv1_r), FUNC(sega_scu_device::dma_lv1_w)); - map(0x0040, 0x0057).rw(this, FUNC(sega_scu_device::dma_lv2_r), FUNC(sega_scu_device::dma_lv2_w)); + map(0x0000, 0x0017).rw(FUNC(sega_scu_device::dma_lv0_r), FUNC(sega_scu_device::dma_lv0_w)); + map(0x0020, 0x0037).rw(FUNC(sega_scu_device::dma_lv1_r), FUNC(sega_scu_device::dma_lv1_w)); + map(0x0040, 0x0057).rw(FUNC(sega_scu_device::dma_lv2_r), FUNC(sega_scu_device::dma_lv2_w)); // Super Major League and Shin Megami Tensei - Akuma Zensho reads from there (undocumented), DMA status mirror? - map(0x005c, 0x005f).r(this, FUNC(sega_scu_device::dma_status_r)); + map(0x005c, 0x005f).r(FUNC(sega_scu_device::dma_status_r)); // AM_RANGE(0x0060, 0x0063) AM_WRITE(dma_force_stop_w) - map(0x007c, 0x007f).r(this, FUNC(sega_scu_device::dma_status_r)); + map(0x007c, 0x007f).r(FUNC(sega_scu_device::dma_status_r)); map(0x0080, 0x0083).rw("scudsp", FUNC(scudsp_cpu_device::program_control_r), FUNC(scudsp_cpu_device::program_control_w)); map(0x0084, 0x0087).w("scudsp", FUNC(scudsp_cpu_device::program_w)); map(0x0088, 0x008b).w("scudsp", FUNC(scudsp_cpu_device::ram_address_control_w)); map(0x008c, 0x008f).rw("scudsp", FUNC(scudsp_cpu_device::ram_address_r), FUNC(scudsp_cpu_device::ram_address_w)); - map(0x0090, 0x0093).w(this, FUNC(sega_scu_device::t0_compare_w)); - map(0x0094, 0x0097).w(this, FUNC(sega_scu_device::t1_setdata_w)); - map(0x009a, 0x009b).w(this, FUNC(sega_scu_device::t1_mode_w)); - map(0x00a0, 0x00a3).rw(this, FUNC(sega_scu_device::irq_mask_r), FUNC(sega_scu_device::irq_mask_w)); - map(0x00a4, 0x00a7).rw(this, FUNC(sega_scu_device::irq_status_r), FUNC(sega_scu_device::irq_status_w)); + map(0x0090, 0x0093).w(FUNC(sega_scu_device::t0_compare_w)); + map(0x0094, 0x0097).w(FUNC(sega_scu_device::t1_setdata_w)); + map(0x009a, 0x009b).w(FUNC(sega_scu_device::t1_mode_w)); + map(0x00a0, 0x00a3).rw(FUNC(sega_scu_device::irq_mask_r), FUNC(sega_scu_device::irq_mask_w)); + map(0x00a4, 0x00a7).rw(FUNC(sega_scu_device::irq_status_r), FUNC(sega_scu_device::irq_status_w)); // AM_RANGE(0x00a8, 0x00ab) AM_WRITE(abus_irqack_w) // AM_RANGE(0x00b0, 0x00b7) AM_READWRITE(abus_set_r,abus_set_w) // AM_RANGE(0x00b8, 0x00bb) AM_READWRITE(abus_refresh_r,abus_refresh_w) // AM_RANGE(0x00c4, 0x00c7) AM_READWRITE(sdram_r,sdram_w) - map(0x00c8, 0x00cb).r(this, FUNC(sega_scu_device::version_r)); + map(0x00c8, 0x00cb).r(FUNC(sega_scu_device::version_r)); } //------------------------------------------------- |