KA10: Fixed nopage read/write to always refer to memory.
This commit is contained in:
parent
19c6b30e8e
commit
3da3de331e
1 changed files with 14 additions and 22 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue