JSS Device ControlBusBasic
This device simulates a basic control BUS. It allows setting different signals on the BUS, by name. Data can be associated with the signals, if needed. In certain old architectures, an interrupt signal would require having the jump address present on the data bus as well. This can be simulated using the data associated with the interrupt signal. This is the case with the Simulated Intel 8008 CPU. In a real Intel 8008, when an interrupt signal is received, an instruction is forced on the data bus, usually indicating a jump to the interrupt servicing routine. In the simulated implementation, the instruction to be executed is placed in the data associated with the interrupt signal on the control BUS. Other CPUs may not use the associated data with signals, having interrupt handling routines at fixed addresses.
Options
- signals - Comma separated list of signal names that may be sent accross this BUS.
Implementation
https://github.com/ComputingMongoose/JavaSystemSimulator/blob/main/src/jss/devices/bus/impl/ControlBusBasic.javaExample configuration
{
"name":"ControlBUS",
"type":"ControlBusBasic",
"configuration":[
{"key":"signals", "value":"INT,S0,S1,S2"}
]
}