system size registers should not trap and also be r/o
This commit is contained in:
parent
4e6dff4ad9
commit
283fc29c81
1 changed files with 3 additions and 0 deletions
3
bus.cpp
3
bus.cpp
|
@ -864,6 +864,9 @@ void bus::write(const uint16_t a, const bool word_mode, uint16_t value, const bo
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (a == ADDR_SYSSIZE || a == ADDR_SYSSIZE + 2) // system size (is read-only)
|
||||||
|
return;
|
||||||
|
|
||||||
///////////
|
///////////
|
||||||
|
|
||||||
DOLOG(debug, true, "UNHANDLED write %o(%c): %o", a, word_mode ? 'B' : 'W', value);
|
DOLOG(debug, true, "UNHANDLED write %o(%c): %o", a, word_mode ? 'B' : 'W', value);
|
||||||
|
|
Loading…
Add table
Reference in a new issue