summaryrefslogtreecommitdiff
path: root/PLAN
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--PLAN17
1 files changed, 17 insertions, 0 deletions
diff --git a/PLAN b/PLAN
new file mode 100644
index 0000000..d5c2311
--- /dev/null
+++ b/PLAN
@@ -0,0 +1,17 @@
1Don't ignore 6000 and 6001
2
3Add "interrupts enabled" flag
46000, 6001, 6002 should properly handle it
5 6000 - skip next instruction if interrupts are enabled; disable interrupts (we should probably do this immediately)
6 6001 - enable interrupts (after next instruction)
7 6002 - disable interrupts (we should probably do this immediately)
8
9Jules thinks clock is most likely interrupt source
10 pdp8 source tries to map clock interrupts to "real time" - we might want to mangle that to make it deterministic
11
12Sources of interrupts observed:
13 PTR flag is set from loader, might be ignorable
14 Memory management is poked from inside ISRs, might be ignorable (MMU should be optional)
15 TTO ready for output interrupt - this looks like a very likely candidate
16 TTI input ready interrupt - this looks like a very likely candidate
17 Looks like these happen even when there is no input available - might be caused by the program itself doing something a little funny