summaryrefslogtreecommitdiff
path: root/isa/checker.h
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-10-29 18:18:26 -0700
committerJulian Blake Kongslie2022-10-29 18:18:26 -0700
commit9f4aa97822adc791f700670ef0fc7636849563b7 (patch)
tree0b9d6c1bb1d7d596501df3b77ab3d7b9f191aa4f /isa/checker.h
parentControl register values should not be "unsigned int" (diff)
downloadbiggolf-9f4aa97822adc791f700670ef0fc7636849563b7.tar.xz
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
Diffstat (limited to '')
-rw-r--r--isa/checker.h3
1 files changed, 3 insertions, 0 deletions
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 {
52 ctlregs.fill(0); 52 ctlregs.fill(0);
53 } 53 }
54 void execute(); 54 void execute();
55 bool done() {
56 return ctlregs[HALTED] && system.done();
57 }
55}; 58};