As the name states, this contraption reads punchcards, at up to 1 byte every 1.5 seconds.
Keep in mind, that in this example, 1 byte consists of 7 bits, the read-head can be extended for larger bytes though, with no size-limit on how many bits each byte contains.
As automatic starmade logic usually has a maximum frequency of 1Hz, the punchcard reader isn't too slow compared to Solid State Logic Memory(SSLM), if read in order. It obviously isn't made for random access.
The main 3 advantages of punchcards compared to SSLM are:
This example copy also contains a punchcard containing "Hello World" in ASCII, alongside display blocks indicating which input and output is which.
For fully automatic reading an additional bit should be used to indicate whether or not a card is currently under the read-head.
Have fun punching your cards
Keep in mind, that in this example, 1 byte consists of 7 bits, the read-head can be extended for larger bytes though, with no size-limit on how many bits each byte contains.
As automatic starmade logic usually has a maximum frequency of 1Hz, the punchcard reader isn't too slow compared to Solid State Logic Memory(SSLM), if read in order. It obviously isn't made for random access.
The main 3 advantages of punchcards compared to SSLM are:
- Most effecient mass-storage per block at 1 bit per block. SSLM needs at least 2 blocks per bit.
- No need to link logic blocks to create a storage array.
- Easily exchangeable.
This example copy also contains a punchcard containing "Hello World" in ASCII, alongside display blocks indicating which input and output is which.
Have fun punching your cards