bus::read word-read from odd i/o did not throw

This commit is contained in:
folkert van heusden 2023-03-24 09:32:30 +01:00
parent 2f69f287ef
commit 19a733be0d
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -157,6 +157,7 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev,
if ((a & 1) && word_mode == false) {
DOLOG(debug, true, "bus::readWord: odd address UNHANDLED %06o in i/o area", a);
trap_odd(a);
throw 0;
return 0;
}
}