1
0
mirror of https://github.com/simh/simh.git synced 2026-04-28 12:47:25 +00:00

PDP1, PDP8, PDP18B, PDP11: Fixed dt_seterr to clear successor states

This commit is contained in:
Bob Supnik
2017-03-15 09:57:58 -07:00
committed by Mark Pizzolato
parent b0541176da
commit 9f60279a51
4 changed files with 13 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
/* pdp8_dt.c: PDP-8 DECtape simulator
Copyright (c) 1993-2013, Robert M Supnik
Copyright (c) 1993-2017, Robert M Supnik
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -25,6 +25,7 @@
dt TC08/TU56 DECtape
15-Mar-17 RMS Fixed dt_seterr to clear successor states
17-Sep-13 RMS Changed to use central set_bootpc routine
23-Jun-06 RMS Fixed switch conflict in ATTACH
07-Jan-06 RMS Fixed unaligned register access bug (Doug Carman)
@@ -1071,6 +1072,7 @@ if (mot >= DTS_ACCF) { /* ~stopped or stopping?
sim_activate (uptr, dt_dctime); /* sched decel */
DTS_SETSTA (DTS_DECF | (mot & DTS_DIR), 0); /* state = decel */
}
else DTS_SETSTA (mot, 0); /* clear 2nd, 3rd */
DT_UPDINT;
return;
}