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 --- io/model.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io/model.h') diff --git a/io/model.h b/io/model.h index 8758a43..2826170 100644 --- a/io/model.h +++ b/io/model.h @@ -13,6 +13,10 @@ struct iomodel { event_log log; std::uint64_t time = 0; bool interact(std::array &ctlregs); + bool done() { + return log.lower_bound(time) == log.end(); + } + std::uint64_t load_time = 0; void load_evt(std::istream &fh); }; -- cgit v1.2.3