From 9f4aa97822adc791f700670ef0fc7636849563b7 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 29 Oct 2022 18:18:26 -0700 Subject: Understanding interrupt handling within SIMH (see echo_int.pal) Add list of Bugs Add event log file parser More changes associated with widening the ctlregs (FIXME add a typedef) Add some keyboard instructions --- isa/checker.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'isa/checker.h') diff --git a/isa/checker.h b/isa/checker.h index 571bbc8..96460cf 100644 --- a/isa/checker.h +++ b/isa/checker.h @@ -52,4 +52,7 @@ struct checker { ctlregs.fill(0); } void execute(); + bool done() { + return ctlregs[HALTED] && system.done(); + } }; -- cgit v1.2.3