ADDR_MICROPROG_BREAK_REG read access
This commit is contained in:
parent
84fd36f771
commit
3df5d20152
1 changed files with 11 additions and 0 deletions
11
bus.cpp
11
bus.cpp
|
@ -195,6 +195,13 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev,
|
|||
DOLOG(debug, !peek_only, "readb stack limit register");
|
||||
return c -> getStackLimitRegister() >> 8;
|
||||
}
|
||||
|
||||
if (a == ADDR_MICROPROG_BREAK_REG) { // microprogram break register
|
||||
return microprogram_break_register & 255;
|
||||
}
|
||||
if (a == ADDR_MICROPROG_BREAK_REG + 1) { // microprogram break register
|
||||
return microprogram_break_register >> 8;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (a == ADDR_MMR0) {
|
||||
|
@ -230,6 +237,10 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev,
|
|||
DOLOG(debug, !peek_only, "read CPUERR");
|
||||
return CPUERR;
|
||||
}
|
||||
|
||||
if (a == ADDR_MICROPROG_BREAK_REG) { // microprogram break register
|
||||
return microprogram_break_register;
|
||||
}
|
||||
}
|
||||
|
||||
if (tm11 && a >= TM_11_BASE && a < TM_11_END)
|
||||
|
|
Loading…
Add table
Reference in a new issue