The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

This thread is [Turing Complete]

electricitylikesmeelectricitylikesme Registered User regular
Do you know how a computer works? Like...really how a computer works? Do you want to?

header.jpg?t=1719647148

Turing Complete is an early access game which gets you to build a computer. From the ground up. Starting with NAND gates.

It's early access but the Campaign takes you all the way through to a Turing Complete computer and beyond. This game will export your designs in Verilog.

Start with building basic gates:

ss_11c609c02e242aff7261676d063f732d4fa66653.600x338.jpg?t=1719647148

Build decoders:

ss_c60bd540cc6586e01b7d3aba3ba33b1c07f222c0.600x338.jpg?t=1719647148

Build a Turing Complete computer:

ss_1bac4bab81311d236e9ce373da10f3f978fffa44.600x338.jpg?t=1719647148

Implement your own assembly code:

ss_98c828431dbca7c85d909e8a9f894fe036ca8b0a.116x65.jpg?t=1719647148

Develop your own custom components:

ss_a196fa59ea171f4d3e28750cd939b1255bafe966.600x338.jpg?t=1719647148

The campaign will guide you through building up the OVERTURE computer system. The campaign also doesn't care at all if you find that too limiting. I did. 8 bit instructions are finicky so when it came to programming I redesigned the system so it has a 32-bit instruction format. Behold...the WOX machine:

9f169ojoxetg.png

...I also wrote a manual for it
# Wox Machine

My Turing Machine computer implementation. Implements a 32-bit instruction format to allow for easier assembly writing
and potential expandability.

## Instruction Format

`OPCODE SRC_A SRC_B DST`

## ALU 

Input 1 Operates on Input 2

Input 1 is `SRC_A`. Input 2 is `SRC_B`

### ALU Instructions

```
0   OR
1   NAND
2   NOR 
3   AND
4   ADD B + A
5   SUB B - A
6   XOR
```

Implementation Note: the ALU repurposes gates to implement XOR.

## Condition Engine

### Condition Instructions
Lower 3 bits
```
0   NEVER
1   < 0
2   <= 0
3   =0
4   !=0
5   >= 0
6   > 0
7   ALWAYS
```

### Condition Setup

`SRC_A` is the parameter.
`SRC_B` is the output (to `DST`) on match.

## Operating Modes

Upper 3 bits of op-code
```
0   0 CONDITION SRC_A is register address   SRC_B is register address
32  1 CONDITION SRC_A is register address   SRC_B is literal
64  2 CALCULATE SRC_A is register address   SRC_B is register address
96  3 CALCULATE SRC_A is register address   SRC_B is literal

This game is pretty much the definition of nerd sniping. The campaign is quite accessible although I'd say there's one or two places the difficulty spikes unexpectedly. But if you've wondered how a computer really works, or want to know, then I can't recommend it enough: this is the least bullshit way I've ever seen it implemented, to the point that you almost (but not yet) could take a design here and burn it to real hardware.

Which is something I haven't done....yet.

Posts

  • surrealitychecksurrealitycheck lonely, but not unloved dreaming of faulty keys and latchesRegistered User regular
    im actually computer already but im glad other people can computer too

    3fpohw4n01yj.png
  • SniperGuySniperGuy SniperGuyGaming Registered User regular
    But can it play DOOM?

Sign In or Register to comment.