summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/interpro/sr/gt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/interpro/sr/gt.cpp')
-rw-r--r--src/devices/bus/interpro/sr/gt.cpp110
1 files changed, 55 insertions, 55 deletions
diff --git a/src/devices/bus/interpro/sr/gt.cpp b/src/devices/bus/interpro/sr/gt.cpp
index 11fe803d512..e840f973ed9 100644
--- a/src/devices/bus/interpro/sr/gt.cpp
+++ b/src/devices/bus/interpro/sr/gt.cpp
@@ -70,66 +70,66 @@ DEFINE_DEVICE_TYPE(MPCBB92, mpcbb92_device, "mpcbb92", "GT II Graphics f/1 2Mp M
void gt_device_base::map(address_map &map)
{
- map(0x0a0, 0x0a0).rw(this, FUNC(gt_device_base::contrast_dac_r), FUNC(gt_device_base::contrast_dac_w)); // w/o?
- map(0x0b0, 0x0b3).rw(this, FUNC(gt_device_base::control_r), FUNC(gt_device_base::control_w));
-
- map(0x0c0, 0x0c3).rw(this, FUNC(gt_device_base::blit_src_address_r), FUNC(gt_device_base::blit_src_address_w)); // w/o?
- map(0x0c4, 0x0c7).rw(this, FUNC(gt_device_base::blit_dst_address_r), FUNC(gt_device_base::blit_dst_address_w)); // w/o?
- map(0x0c8, 0x0c9).rw(this, FUNC(gt_device_base::blit_width_r), FUNC(gt_device_base::blit_width_w)); // w/o?
-
- map(0x0d0, 0x0d3).w(this, FUNC(gt_device_base::blit_control_w));
- map(0x0d4, 0x0d4).rw(this, FUNC(gt_device_base::plane_enable_r), FUNC(gt_device_base::plane_enable_w));
- map(0x0d8, 0x0d8).rw(this, FUNC(gt_device_base::plane_data_r), FUNC(gt_device_base::plane_data_w));
-
- map(0x100, 0x101).rw(this, FUNC(gt_device_base::bsga_width_r), FUNC(gt_device_base::bsga_width_w));
- map(0x102, 0x103).rw(this, FUNC(gt_device_base::bsga_tmp_r), FUNC(gt_device_base::bsga_tmp_w));
-
- map(0x104, 0x105).w(this, FUNC(gt_device_base::bsga_xmin_w));
- map(0x108, 0x109).w(this, FUNC(gt_device_base::bsga_ymin_w));
- map(0x10c, 0x10d).rw(this, FUNC(gt_device_base::bsga_xmin_r), FUNC(gt_device_base::bsga_xmin_w));
- map(0x10e, 0x10f).rw(this, FUNC(gt_device_base::bsga_ymin_r), FUNC(gt_device_base::bsga_ymin_w));
-
- map(0x110, 0x111).r(this, FUNC(gt_device_base::bsga_acc0_r));
- map(0x112, 0x113).r(this, FUNC(gt_device_base::bsga_acc1_r));
-
- map(0x114, 0x115).w(this, FUNC(gt_device_base::bsga_xmax_w));
- map(0x118, 0x119).w(this, FUNC(gt_device_base::bsga_ymax_w));
- map(0x11c, 0x11d).rw(this, FUNC(gt_device_base::bsga_xmax_r), FUNC(gt_device_base::bsga_xmax_w));
- map(0x11e, 0x11f).rw(this, FUNC(gt_device_base::bsga_ymax_r), FUNC(gt_device_base::bsga_ymax_w));
-
- map(0x120, 0x121).r(this, FUNC(gt_device_base::bsga_src0_r));
- map(0x122, 0x123).r(this, FUNC(gt_device_base::bsga_src1_r));
-
- map(0x124, 0x125).w(this, FUNC(gt_device_base::bsga_xin1_w));
- map(0x128, 0x129).w(this, FUNC(gt_device_base::bsga_yin1_w));
- map(0x12c, 0x12d).r(this, FUNC(gt_device_base::bsga_xin_r));
- map(0x12e, 0x12f).r(this, FUNC(gt_device_base::bsga_yin_r));
- map(0x12c, 0x12f).w(this, FUNC(gt_device_base::bsga_xin1yin1_w));
- map(0x130, 0x131).r(this, FUNC(gt_device_base::bsga_status_r));
- map(0x134, 0x135).w(this, FUNC(gt_device_base::bsga_xin2_w));
- map(0x138, 0x139).w(this, FUNC(gt_device_base::bsga_yin2_w));
- map(0x13c, 0x13f).w(this, FUNC(gt_device_base::bsga_xin2yin2_w));
+ map(0x0a0, 0x0a0).rw(FUNC(gt_device_base::contrast_dac_r), FUNC(gt_device_base::contrast_dac_w)); // w/o?
+ map(0x0b0, 0x0b3).rw(FUNC(gt_device_base::control_r), FUNC(gt_device_base::control_w));
+
+ map(0x0c0, 0x0c3).rw(FUNC(gt_device_base::blit_src_address_r), FUNC(gt_device_base::blit_src_address_w)); // w/o?
+ map(0x0c4, 0x0c7).rw(FUNC(gt_device_base::blit_dst_address_r), FUNC(gt_device_base::blit_dst_address_w)); // w/o?
+ map(0x0c8, 0x0c9).rw(FUNC(gt_device_base::blit_width_r), FUNC(gt_device_base::blit_width_w)); // w/o?
+
+ map(0x0d0, 0x0d3).w(FUNC(gt_device_base::blit_control_w));
+ map(0x0d4, 0x0d4).rw(FUNC(gt_device_base::plane_enable_r), FUNC(gt_device_base::plane_enable_w));
+ map(0x0d8, 0x0d8).rw(FUNC(gt_device_base::plane_data_r), FUNC(gt_device_base::plane_data_w));
+
+ map(0x100, 0x101).rw(FUNC(gt_device_base::bsga_width_r), FUNC(gt_device_base::bsga_width_w));
+ map(0x102, 0x103).rw(FUNC(gt_device_base::bsga_tmp_r), FUNC(gt_device_base::bsga_tmp_w));
+
+ map(0x104, 0x105).w(FUNC(gt_device_base::bsga_xmin_w));
+ map(0x108, 0x109).w(FUNC(gt_device_base::bsga_ymin_w));
+ map(0x10c, 0x10d).rw(FUNC(gt_device_base::bsga_xmin_r), FUNC(gt_device_base::bsga_xmin_w));
+ map(0x10e, 0x10f).rw(FUNC(gt_device_base::bsga_ymin_r), FUNC(gt_device_base::bsga_ymin_w));
+
+ map(0x110, 0x111).r(FUNC(gt_device_base::bsga_acc0_r));
+ map(0x112, 0x113).r(FUNC(gt_device_base::bsga_acc1_r));
+
+ map(0x114, 0x115).w(FUNC(gt_device_base::bsga_xmax_w));
+ map(0x118, 0x119).w(FUNC(gt_device_base::bsga_ymax_w));
+ map(0x11c, 0x11d).rw(FUNC(gt_device_base::bsga_xmax_r), FUNC(gt_device_base::bsga_xmax_w));
+ map(0x11e, 0x11f).rw(FUNC(gt_device_base::bsga_ymax_r), FUNC(gt_device_base::bsga_ymax_w));
+
+ map(0x120, 0x121).r(FUNC(gt_device_base::bsga_src0_r));
+ map(0x122, 0x123).r(FUNC(gt_device_base::bsga_src1_r));
+
+ map(0x124, 0x125).w(FUNC(gt_device_base::bsga_xin1_w));
+ map(0x128, 0x129).w(FUNC(gt_device_base::bsga_yin1_w));
+ map(0x12c, 0x12d).r(FUNC(gt_device_base::bsga_xin_r));
+ map(0x12e, 0x12f).r(FUNC(gt_device_base::bsga_yin_r));
+ map(0x12c, 0x12f).w(FUNC(gt_device_base::bsga_xin1yin1_w));
+ map(0x130, 0x131).r(FUNC(gt_device_base::bsga_status_r));
+ map(0x134, 0x135).w(FUNC(gt_device_base::bsga_xin2_w));
+ map(0x138, 0x139).w(FUNC(gt_device_base::bsga_yin2_w));
+ map(0x13c, 0x13f).w(FUNC(gt_device_base::bsga_xin2yin2_w));
// FDMDISK says all the ri registers are write only?
// possibly also all 24 bit
- map(0x140, 0x143).rw(this, FUNC(gt_device_base::ri_initial_distance_r), FUNC(gt_device_base::ri_initial_distance_w));
- map(0x144, 0x147).rw(this, FUNC(gt_device_base::ri_distance_both_r), FUNC(gt_device_base::ri_distance_both_w));
- map(0x148, 0x14b).rw(this, FUNC(gt_device_base::ri_distance_major_r), FUNC(gt_device_base::ri_distance_major_w));
- map(0x14c, 0x14f).rw(this, FUNC(gt_device_base::ri_initial_address_r), FUNC(gt_device_base::ri_initial_address_w));
- map(0x150, 0x153).rw(this, FUNC(gt_device_base::ri_address_both_r), FUNC(gt_device_base::ri_address_both_w));
- map(0x154, 0x157).rw(this, FUNC(gt_device_base::ri_address_major_r), FUNC(gt_device_base::ri_address_major_w));
- map(0x158, 0x15b).rw(this, FUNC(gt_device_base::ri_initial_error_r), FUNC(gt_device_base::ri_initial_error_w));
- map(0x15c, 0x15f).rw(this, FUNC(gt_device_base::ri_error_both_r), FUNC(gt_device_base::ri_error_both_w));
- map(0x160, 0x163).rw(this, FUNC(gt_device_base::ri_error_major_r), FUNC(gt_device_base::ri_error_major_w));
- map(0x164, 0x167).rw(this, FUNC(gt_device_base::ri_stop_count_r), FUNC(gt_device_base::ri_stop_count_w)); // 16 bit?
-
- map(0x16c, 0x16f).rw(this, FUNC(gt_device_base::ri_control_r), FUNC(gt_device_base::ri_control_w)); // mask 1ff?
+ map(0x140, 0x143).rw(FUNC(gt_device_base::ri_initial_distance_r), FUNC(gt_device_base::ri_initial_distance_w));
+ map(0x144, 0x147).rw(FUNC(gt_device_base::ri_distance_both_r), FUNC(gt_device_base::ri_distance_both_w));
+ map(0x148, 0x14b).rw(FUNC(gt_device_base::ri_distance_major_r), FUNC(gt_device_base::ri_distance_major_w));
+ map(0x14c, 0x14f).rw(FUNC(gt_device_base::ri_initial_address_r), FUNC(gt_device_base::ri_initial_address_w));
+ map(0x150, 0x153).rw(FUNC(gt_device_base::ri_address_both_r), FUNC(gt_device_base::ri_address_both_w));
+ map(0x154, 0x157).rw(FUNC(gt_device_base::ri_address_major_r), FUNC(gt_device_base::ri_address_major_w));
+ map(0x158, 0x15b).rw(FUNC(gt_device_base::ri_initial_error_r), FUNC(gt_device_base::ri_initial_error_w));
+ map(0x15c, 0x15f).rw(FUNC(gt_device_base::ri_error_both_r), FUNC(gt_device_base::ri_error_both_w));
+ map(0x160, 0x163).rw(FUNC(gt_device_base::ri_error_major_r), FUNC(gt_device_base::ri_error_major_w));
+ map(0x164, 0x167).rw(FUNC(gt_device_base::ri_stop_count_r), FUNC(gt_device_base::ri_stop_count_w)); // 16 bit?
+
+ map(0x16c, 0x16f).rw(FUNC(gt_device_base::ri_control_r), FUNC(gt_device_base::ri_control_w)); // mask 1ff?
//AM_RANGE(0x174, 0x177) AM_READWRITE(ri_xfer_r, ri_xfer_w)
//AM_RANGE(0x178, 0x17b) AM_READWRITE(ri_xfer_r, ri_xfer_w)
- map(0x17c, 0x17f).rw(this, FUNC(gt_device_base::ri_xfer_r), FUNC(gt_device_base::ri_xfer_w));
+ map(0x17c, 0x17f).rw(FUNC(gt_device_base::ri_xfer_r), FUNC(gt_device_base::ri_xfer_w));
- map(0x1a4, 0x1ab).w(this, FUNC(gt_device_base::bsga_float_w));
+ map(0x1a4, 0x1ab).w(FUNC(gt_device_base::bsga_float_w));
//AM_RANGE(0x1c0, 0x1c3)
//AM_RANGE(0x1c4, 0x1c7)
@@ -156,7 +156,7 @@ void single_gt_device_base::map(address_map &map)
map(0x00000080, 0x0000008f).m("ramdac0", FUNC(bt459_device::map)).umask32(0x000000ff);
map(0x00000090, 0x0000009f).nopw(); // second (missing) ramdac
- map(0x00400000, 0x005fffff).rw(this, FUNC(single_gt_device_base::buffer_r), FUNC(single_gt_device_base::buffer_w));
+ map(0x00400000, 0x005fffff).rw(FUNC(single_gt_device_base::buffer_r), FUNC(single_gt_device_base::buffer_w));
}
void dual_gt_device_base::map(address_map &map)
@@ -166,7 +166,7 @@ void dual_gt_device_base::map(address_map &map)
map(0x00000080, 0x0000008f).m("ramdac0", FUNC(bt459_device::map)).umask32(0x000000ff);
map(0x00000090, 0x0000009f).m("ramdac1", FUNC(bt459_device::map)).umask32(0x000000ff);
- map(0x00400000, 0x007fffff).rw(this, FUNC(dual_gt_device_base::buffer_r), FUNC(dual_gt_device_base::buffer_w));
+ map(0x00400000, 0x007fffff).rw(FUNC(dual_gt_device_base::buffer_r), FUNC(dual_gt_device_base::buffer_w));
}
ROM_START(mpcb963)