diff options
| author | Julian Blake Kongslie | 2022-10-29 18:18:26 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-10-29 18:18:26 -0700 |
| commit | 9f4aa97822adc791f700670ef0fc7636849563b7 (patch) | |
| tree | 0b9d6c1bb1d7d596501df3b77ab3d7b9f191aa4f /isa/checker.h | |
| parent | Control register values should not be "unsigned int" (diff) | |
| download | biggolf-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.h | 3 |
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 | }; |
