From a1daa4c4b3d7972325b67dd1770264cbc9b95f5e Mon Sep 17 00:00:00 2001 From: TQ Hirsch Date: Thu, 31 Aug 2023 13:46:28 +0200 Subject: [PATCH] Fully implemented CPU and memory busses, but not yet tested --- .idea/gradle.xml | 1 + .idea/vcs.xml | 6 + doc/pdp10-impl.adoc | 11 + doc/peripheral-map.txt | 73 ++ .../com/thequux/mcpdp/core/AddressSpace.kt | 29 +- src/main/kotlin/com/thequux/mcpdp/core/CPU.kt | 670 ++++++++++++++---- .../kotlin/com/thequux/mcpdp/core/HaltInsn.kt | 5 + .../com/thequux/mcpdp/core/MemoryError.kt | 9 + .../com/thequux/mcpdp/core/PagingUnit.kt | 206 ++++++ .../com/thequux/mcpdp/peripheral/MemBus.kt | 58 ++ .../com/thequux/mcpdp/peripheral/Unibus.kt | 71 ++ .../thequux/mcpdp/util/ConfigurationError.kt | 4 + .../com/thequux/mcpdp/util/ProgrammerError.kt | 4 + 13 files changed, 1019 insertions(+), 128 deletions(-) create mode 100644 .idea/vcs.xml create mode 100644 doc/pdp10-impl.adoc create mode 100644 doc/peripheral-map.txt create mode 100644 src/main/kotlin/com/thequux/mcpdp/core/HaltInsn.kt create mode 100644 src/main/kotlin/com/thequux/mcpdp/core/MemoryError.kt create mode 100644 src/main/kotlin/com/thequux/mcpdp/core/PagingUnit.kt create mode 100644 src/main/kotlin/com/thequux/mcpdp/peripheral/MemBus.kt create mode 100644 src/main/kotlin/com/thequux/mcpdp/peripheral/Unibus.kt create mode 100644 src/main/kotlin/com/thequux/mcpdp/util/ConfigurationError.kt create mode 100644 src/main/kotlin/com/thequux/mcpdp/util/ProgrammerError.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index f9163b4..ce1c62c 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +