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/ctlreg.def | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 isa/ctlreg.def

(limited to 'isa/ctlreg.def')

diff --git a/isa/ctlreg.def b/isa/ctlreg.def
new file mode 100644
index 0000000..c9eab05
--- /dev/null
+++ b/isa/ctlreg.def
@@ -0,0 +1,8 @@
+REG(DATA_INSTRUCTION_FIELD_BUFFER)  // (df << 3) | if_buffer
+REG(DATA_INSTRUCTION_FIELD_SAVED)   // (df_saved << 3) | if_saved
+REG(HALTED)
+REG(INT_ENABLE)                     // (int_enable_delay << 1) | int_enable
+REG(INT_PENDING)                    // only meaningful if interrupts disabled
+REG(TT_BITS)                        // see TT[IO]_* consts in isa/isa.h
+REG(TT_INPUT_INT_ENABLE)            // (status_enable << 1) | (int_enable)
+REG(TT_OUTPUT_INT_ENABLE)
-- 
cgit v1.2.3

