diff options
Diffstat (limited to 'src/mame/video/kaneko_grap2.cpp')
-rw-r--r-- | src/mame/video/kaneko_grap2.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/video/kaneko_grap2.cpp b/src/mame/video/kaneko_grap2.cpp index d78383e0e8d..af0d0bf16ce 100644 --- a/src/mame/video/kaneko_grap2.cpp +++ b/src/mame/video/kaneko_grap2.cpp @@ -16,20 +16,20 @@ void kaneko_grap2_device::grap2_map(address_map &map) { - map(0x000000, 0x0003ff).rw(this, FUNC(kaneko_grap2_device::unk1_r), FUNC(kaneko_grap2_device::unk1_w)); - map(0x000400, 0x000401).w(this, FUNC(kaneko_grap2_device::framebuffer1_scrollx_w)); - map(0x000800, 0x000bff).rw(this, FUNC(kaneko_grap2_device::unk2_r), FUNC(kaneko_grap2_device::unk2_w)); - map(0x000c00, 0x000c01).w(this, FUNC(kaneko_grap2_device::framebuffer1_scrolly_w)); - map(0x000c02, 0x000c03).w(this, FUNC(kaneko_grap2_device::framebuffer1_enable_w)); - map(0x000c06, 0x000c07).w(this, FUNC(kaneko_grap2_device::framebuffer1_bgcol_w)); - map(0x000c10, 0x000c11).rw(this, FUNC(kaneko_grap2_device::framebuffer1_fbbright1_r), FUNC(kaneko_grap2_device::framebuffer1_fbbright1_w)); - map(0x000c12, 0x000c13).rw(this, FUNC(kaneko_grap2_device::framebuffer1_fbbright2_r), FUNC(kaneko_grap2_device::framebuffer1_fbbright2_w)); - map(0x000c18, 0x000c1b).w(this, FUNC(kaneko_grap2_device::regs1_address_w)); - map(0x000c1c, 0x000c1d).w(this, FUNC(kaneko_grap2_device::regs2_w)); - map(0x000c1e, 0x000c1f).w(this, FUNC(kaneko_grap2_device::regs1_go_w)); - map(0x000c00, 0x000c1f).r(this, FUNC(kaneko_grap2_device::regs1_r)); - map(0x080000, 0x0801ff).rw(this, FUNC(kaneko_grap2_device::pal_r), FUNC(kaneko_grap2_device::framebuffer1_palette_w)); - map(0x100000, 0x17ffff).rw(this, FUNC(kaneko_grap2_device::framebuffer_r), FUNC(kaneko_grap2_device::framebuffer_w)); + map(0x000000, 0x0003ff).rw(FUNC(kaneko_grap2_device::unk1_r), FUNC(kaneko_grap2_device::unk1_w)); + map(0x000400, 0x000401).w(FUNC(kaneko_grap2_device::framebuffer1_scrollx_w)); + map(0x000800, 0x000bff).rw(FUNC(kaneko_grap2_device::unk2_r), FUNC(kaneko_grap2_device::unk2_w)); + map(0x000c00, 0x000c01).w(FUNC(kaneko_grap2_device::framebuffer1_scrolly_w)); + map(0x000c02, 0x000c03).w(FUNC(kaneko_grap2_device::framebuffer1_enable_w)); + map(0x000c06, 0x000c07).w(FUNC(kaneko_grap2_device::framebuffer1_bgcol_w)); + map(0x000c10, 0x000c11).rw(FUNC(kaneko_grap2_device::framebuffer1_fbbright1_r), FUNC(kaneko_grap2_device::framebuffer1_fbbright1_w)); + map(0x000c12, 0x000c13).rw(FUNC(kaneko_grap2_device::framebuffer1_fbbright2_r), FUNC(kaneko_grap2_device::framebuffer1_fbbright2_w)); + map(0x000c18, 0x000c1b).w(FUNC(kaneko_grap2_device::regs1_address_w)); + map(0x000c1c, 0x000c1d).w(FUNC(kaneko_grap2_device::regs2_w)); + map(0x000c1e, 0x000c1f).w(FUNC(kaneko_grap2_device::regs1_go_w)); + map(0x000c00, 0x000c1f).r(FUNC(kaneko_grap2_device::regs1_r)); + map(0x080000, 0x0801ff).rw(FUNC(kaneko_grap2_device::pal_r), FUNC(kaneko_grap2_device::framebuffer1_palette_w)); + map(0x100000, 0x17ffff).rw(FUNC(kaneko_grap2_device::framebuffer_r), FUNC(kaneko_grap2_device::framebuffer_w)); } DEFINE_DEVICE_TYPE(KANEKO_GRAP2, kaneko_grap2_device, "kaneko_grap2", "Kaneko GRAP2") |