Fix for switching between D and I address space (MFP.)

This commit is contained in:
folkert van heusden 2024-04-29 23:29:01 +02:00
parent 1e3c686aec
commit ae0672da11
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -1389,8 +1389,7 @@ bool cpu::single_operand_instructions(const uint16_t instr)
addToMMR1(a); addToMMR1(a);
// read from previous space // read from previous space
// FIXME: address space selection (see MTPI/D) v = b->read(a.addr.value(), wm_word, rm_prev, false, word_mode == wm_byte ? d_space : i_space);
v = b->read(a.addr.value(), wm_word, rm_prev);
} }
setPSW_flags_nzv(v, wm_word); setPSW_flags_nzv(v, wm_word);