Expand description
Emulates the principal central components of the TX-2.
§TX-2 Functionality implemented in this module
The functionality of this module is conceptually similar to the CPU of a modern computer, although on the real TX-2 these functions were split across several identifiably separate units (“elements”).
§Functions of the In/Out Element
Other functions of the In/Out element are implemented in the io module.
§Functions of the Exchange Element
- Remember the setting of the TSP (Toggle Start Point) register
Modules§
- op_
configuration 🔒 - Implementations of “Configuration Memory Class” opcodes
- op_
index 🔒 - Implementations of “Index Register Class” opcodes
- op_io 🔒
- op_jump 🔒
- op_
loadstore 🔒 - Implementations of “Load-Store Class” opcodes
- timing 🔒
- Instruction and event timing.
- trap 🔒
- Emulates the trap circuit and I/O Unit 42. See TX-2 User Handbook Chapter 4 section 42.
Structs§
- Control
Registers - Registers from various elements of the TX-2.
- Control
Unit ControlUnit
simulates the operation of the Control Element of the TX-2 computer.- Opcode
Result 🔒 - Sequence
Flags 🔒 - Flags represent requests to run for instruction sequences (today one might describe these as threads). Some sequences are special: