256 Analog Computer Prototype
by Nazalassa
uploaded 2023-03-08
4 downloads /
3
points
SPH
stock+DLC probe
#KAL #256 #analog #science #adder

Description

We’re getting closer to a working 256 analog computer! This new iteration of the previous thing now has built-in instructions! You just need to run the corresponding KAL.

Built in the SPH in KSP 1.12.3.

Operation Instructions

This one is quite simple to use.

This thing (tell me if you have a better name) can be either active or inactive, the latter being the default state. It will only do meaningful operations when activated, and to switch between states press ‘0’, or whatever key is associated with AG 10.

The seven possible instructions have been packed in seven different KALs: TAB, TBA, TAC, TCA, TBC, TCB, ADD. Their location is shown in the picture below.

To execute an instruction, simply play the associated KAL. Nothing more!
OK, avoid executing two instructions simultaneously please… That’ll break stuff - but otherwise it’s safe.

In order to allow loading stuff into the registers, I connected a KAL (labelled C Register Loader) to the C register. If it is enabled and you write in it, whatever you write will be stored into the C register. You can then use one of the transfer instructions to put that data into another register.

Details

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

Instruction Set

  • TAB : Copies data from the A register into the B register.
  • TBA : Copies data from the B register into the A register.
  • TAC : Copies data from the A register into the C register.
  • TCA : Copies data from the C register into the A register.
  • TBC : Copies data from the B register into the C register.
  • TCB : Copies data from the C register into the B register.
  • ADD : Adds the values of registers A and B, then puts the result back in A. For the moment, there’s no carry support.

The picture below shows the PAWs of the instruction KALs, of the register KALs, and of the C Register Loader KAL.

Also, if you want to check the 133.4 MiB gif where I add 42+71, it’s here: http://i.imgur.com/vRdED09.gif

Breaking spacetime and other stuff since [SEGMENTATION FAULT]

swipe to switch images, tap to close
K
S
P