8-bit bus prototype
by Nazalassa
uploaded 2023-03-04
2 downloads /
2
points
SPH
stock+DLC probe
#kal #logic #bus #register #8-bit

Description

This bus prototype, which has 15 parts, is a working hardware bus with three registers.

Built in the SPH in KSP 1.12.3.

Operation Instructions

This working hardware bus has three register, each having three KALs. In the picture below, these three registers are, from left to right, A, B and C.

In each register, there are three KALs; in the picture below, they are, from left to right, read (R), store (S) and write (W). By default, R and W are disabled, while S is always enabled.

The bus can be either active or inactive. To work properly you should activate it by pressing ‘0’ or whatever key is associated with AG 10. You can deactivate it later by pressing the same key. Before activating it however, I recommand you load the S KALs of the registers with some integer values (as seen in the picture below).

Details

  • Type: SPH
  • Class: probe
  • Part Count: 15
  • Pure Stock
  • KSP: 1.12.3

Once the bus is active, you can transfer data between registers – and that’s all. But that’s what a bus does :)

If you enable the R KAL of a register, it will store whatever is on the bus in that register, and it will continue reading the bus until it is deactivated, after which the data from the bus is successfully copied in the register.

If you enable the W KAL of a register, it will write whatever is in that register to the bus, and it will continue writing to the bus until it is deactivated, after which the data is successfully copied in the bus.

If you enable the W KAL of a register and the R KAL of another register, it will transfer the data from the former to the latter (it will still be in the former though).

Although the bus can be read by several registers at the same time, writing to it with more than one register will put an undefined value on the bus, so avoid it.

Note that the bus and each register can store an integer between 0 and 255 included (an 8-bit number).

The picture below shows a data transfer between registers A and B.

Here is how I organized my PAWs in the screenshots I took.

And finally, here’s what lives in all the KALs – a mere buffer.

Breaking spacetime and other stuff since [SEGMENTATION FAULT]

swipe to switch images, tap to close
K
S
P