odd address check in i/o when in !word_mode
This commit is contained in:
parent
c77ae1d617
commit
6ac4a9ecb6
1 changed files with 1 additions and 1 deletions
2
bus.cpp
2
bus.cpp
|
@ -114,7 +114,7 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev,
|
|||
///^ registers ^///
|
||||
|
||||
if (!peek_only) {
|
||||
if (a & 1) {
|
||||
if ((a & 1) && word_mode == false) {
|
||||
DOLOG(debug, true, "bus::readWord: odd address UNHANDLED %06o in i/o area", a);
|
||||
c->schedule_trap(004); // invalid access
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue