KA10: Fixed nopage read/write to always refer to memory.

This commit is contained in:
Richard Cornwell 2023-09-30 20:03:36 -04:00 committed by Paul Koning
parent 19c6b30e8e
commit 3da3de331e

View file

@ -4313,9 +4313,6 @@ int Mem_read_nopage() {
if (adr_cond && AB == AS)
address_conditions (0, 0);
#endif
if (AB < 020) {
MB = get_reg(AB);
} else {
if (AB >= MEMSIZE) {
#if KL | KS
irq_flags |= NXM_MEM;
@ -4327,7 +4324,6 @@ int Mem_read_nopage() {
}
sim_interval--;
MB = M[AB];
}
return 0;
}
@ -4341,9 +4337,6 @@ int Mem_write_nopage() {
if (adr_cond && AB == AS)
address_conditions (0, 1);
#endif
if (AB < 020) {
set_reg(AB, MB);
} else {
if (AB >= MEMSIZE) {
#if KL | KS
irq_flags |= NXM_MEM;
@ -4355,7 +4348,6 @@ int Mem_write_nopage() {
}
sim_interval--;
M[AB] = MB;
}
return 0;
}