diff options
author | Patrick Mackinlay <pmackinlay@hotmail.com> | 2021-07-23 15:34:37 +0700 |
---|---|---|
committer | Patrick Mackinlay <pmackinlay@hotmail.com> | 2021-07-23 15:34:49 +0700 |
commit | 3b151130022e04fc6d4111fbf3aeec295e2659fb (patch) | |
tree | 2e84a0161dc3889127622b4e033b85d2aebb44a1 | |
parent | f996103315e6e7fc165b72a45725df80a6c53b15 (diff) |
am9517a: setting mask bits also sets status
-rw-r--r-- | src/devices/machine/am9517a.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/machine/am9517a.cpp b/src/devices/machine/am9517a.cpp index 4e99e678f20..8901b7a910d 100644 --- a/src/devices/machine/am9517a.cpp +++ b/src/devices/machine/am9517a.cpp @@ -916,6 +916,9 @@ void am9517a_device::write(offs_t offset, uint8_t data) m_mask = data & 0x0f; LOG("AM9517A Mask Register: %01x\n", m_mask); + + // tek4132 firmware indicates setting mask bits also sets status + m_status |= (data & 0x0f) << 4; break; } } |