summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/interpro/sr/edge.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-06-12 19:44:59 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-06-12 19:51:03 -0400
commitc92a21ebb9edf428c8011ac727491a11dd511c8c (patch)
treeb53254fa9ed19880c02b54a390d4e9047f23ed0a /src/devices/bus/interpro/sr/edge.cpp
parent788409adea53a4e7711d26405aab95fd8655d1ce (diff)
z80scc: Read/write handler cleanups (nw)
- Simplify handler signatures - Rename cd_ab_r/w and ba_cd_inv_r/w to dc_ab_r/w and ab_dc_r/w to be more hardware-accurate - Eliminate cd_ba_r/w and ba_cd_r/w (no legitimate uses in existing code) mvme162: Fix SCC addressing (nw) Note that the SCC's address inputs are A/~B and D/~C, rather than the Z80 SIO's B/~A and C/~D.
Diffstat (limited to 'src/devices/bus/interpro/sr/edge.cpp')
-rw-r--r--src/devices/bus/interpro/sr/edge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/interpro/sr/edge.cpp b/src/devices/bus/interpro/sr/edge.cpp
index 390b3459079..1228450375a 100644
--- a/src/devices/bus/interpro/sr/edge.cpp
+++ b/src/devices/bus/interpro/sr/edge.cpp
@@ -285,7 +285,7 @@ void edge1_device_base::map(address_map &map)
*/
map(0x000, 0x003).rw(FUNC(edge1_device_base::reg0_r), FUNC(edge1_device_base::reg0_w));
- map(0x010, 0x01f).rw("scc", FUNC(z80scc_device::cd_ab_r), FUNC(z80scc_device::cd_ab_w)).umask32(0x000000ff);
+ map(0x010, 0x01f).rw("scc", FUNC(z80scc_device::dc_ab_r), FUNC(z80scc_device::dc_ab_w)).umask32(0x000000ff);
map(0x100, 0x103).rw(FUNC(edge1_device_base::control_r), FUNC(edge1_device_base::control_w));
map(0x104, 0x107).rw(FUNC(edge1_device_base::status_r), FUNC(edge1_device_base::status_w));
@@ -353,7 +353,7 @@ void edge2plus_processor_device_base::map(address_map &map)
map(0x008, 0x008).lr8("mouse_x", []() { return 0; });
map(0x00c, 0x00c).lr8("mouse_y", []() { return 0; });
- map(0x010, 0x01f).rw("scc", FUNC(z80scc_device::cd_ab_r), FUNC(z80scc_device::cd_ab_w)).umask32(0x000000ff);
+ map(0x010, 0x01f).rw("scc", FUNC(z80scc_device::dc_ab_r), FUNC(z80scc_device::dc_ab_w)).umask32(0x000000ff);
map(0x100, 0x103).rw(FUNC(edge2plus_processor_device_base::control_r), FUNC(edge2plus_processor_device_base::control_w));
map(0x104, 0x107).rw(FUNC(edge2plus_processor_device_base::status_r), FUNC(edge2plus_processor_device_base::status_w));