for some reason unixv5 wants to write a word to the system id i/o address

This commit is contained in:
folkert van heusden 2023-03-23 22:09:19 +01:00
parent 9eb9254c6e
commit 0fd4a70600
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -867,6 +867,9 @@ void bus::write(const uint16_t a, const bool word_mode, uint16_t value, const bo
if (a == ADDR_SYSSIZE || a == ADDR_SYSSIZE + 2) // system size (is read-only)
return;
if (a == ADDR_SYSTEM_ID) // is r/o
return;
///////////
DOLOG(debug, true, "UNHANDLED write %o(%c): %o", a, word_mode ? 'B' : 'W', value);