From 7ad5bfa3e071f9f1ffb6ea6a72681d52a9d485cd Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 8 Apr 2020 16:10:04 -0400 Subject: [PATCH] wd37c65c: Note on map use (nw) --- src/devices/machine/upd765.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/machine/upd765.cpp b/src/devices/machine/upd765.cpp index 461504b750f..b46bec85fda 100644 --- a/src/devices/machine/upd765.cpp +++ b/src/devices/machine/upd765.cpp @@ -142,6 +142,9 @@ void pc8477a_device::map(address_map &map) void wd37c65c_device::map(address_map &map) { + // NOTE: this map only covers registers defined by CS. + // LDOR and LDCR must be mapped separately, since their addresses are + // defined only by external decoding circuits. LDIR (optional) is also separate. map(0x0, 0x0).r(FUNC(wd37c65c_device::msr_r)); map(0x1, 0x1).rw(FUNC(wd37c65c_device::fifo_r), FUNC(wd37c65c_device::fifo_w)); }