mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
VAX: Allow potentially pending console output to be delivered prior to halting back to the sim> prompt
This commit is contained in:
parent
c1c5535d0b
commit
a0a7eb27b6
@ -2590,6 +2590,15 @@ for ( ;; ) {
|
||||
else if (cpu_unit.flags & UNIT_CONH) /* halt to console? */
|
||||
cc = con_halt (CON_HLTINS, cc); /* enter firmware */
|
||||
else {
|
||||
/* allow potentially pending console output to */
|
||||
/* be displayed before dropping back to scp */
|
||||
if (sim_interval <= SERIAL_OUT_WAIT) {
|
||||
sim_interval -= SERIAL_OUT_WAIT;
|
||||
temp = sim_process_event ();
|
||||
if (temp)
|
||||
ABORT (temp);
|
||||
SET_IRQL; /* update interrupts */
|
||||
}
|
||||
ABORT (STOP_HALT); /* halt to simulator */
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user