1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-14 15:44:49 +00:00

KA10: Make III DATAO execute instruction right away.

Or else the MAR will not be updated until iii_svc had a chance to run.
If that doesn't happen before the next III CONO, the III will not
proceed at the correct address.
This commit is contained in:
Lars Brinkhoff 2021-04-23 12:08:20 +02:00
parent d4421e79fd
commit 2ac8ea044d

View File

@ -379,7 +379,8 @@ t_stat iii_devio(uint32 dev, uint64 *data) {
uptr->STATUS |= DATA_FLG;
else {
iii_instr = *data;
sim_activate(uptr, 10);
/* Process instruction right away to ensure MAR is updated. */
iii_svc(iii_unit);
}
sim_debug(DEBUG_DATAIO, &iii_dev, "III %03o DATAO %06o\n", dev, (uint32)*data);
break;