Working 8-bit CPU in Minecraft

Lazcraft has completed his continued work on his Minecraft CPU project (not to be confused with theInternetFTW's remarkable 8-bit Minecraft computer project). He now has a full, working 8-bit computer made of Minecraft blocks and other gubbins, "with 8 bytes of RAM, an output register, a code-loader and the ability to branch conditionally and unconditionally."

You can't see the code loader as it's on the other side and is shorter than everything else. The clock is the shorter thing at the bottom right of screen. ALU on the left, memory at the top right, and the rest is registers for the accumulator, program counter, code and addresses.

This is the list of op codes:

1 - memory
2 + memory
3 OR memory
4 WRITE memory
5 BRANCH if Accumulator = 0
6 AND memory
7 LOAD memory
9 - constant
10 + constant
11 OR constant
12 WRITE out
13 BRANCH unconditionally
14 AND constant
15 LOAD constant

Working CPU with RAM, branching, etc... (video added) (Thanks, Fipi Lele!)


  1. Wow. I’ve been playing Minecraft for a week and still haven’t figured out how to create an iron ingot.

  2. My friends and family all call me a computer geek. Nuh-uh, I am but a pale imitation. LazCraft is a true geek.

  3. It’s impressive, but once I saw the Enterprise model and learned there was a world builder type of program that could take images and create layers….well it kind of took the awesomesauce out of it for me.

  4. I saw this last week, and I still don’t understand it!

    Oh well…

    BTW, JonStewartMill, you have to craft a furnace and smelt the ore.

  5. Yawn… 8-bit is so over…

    Call me when he has a 32-bit machine that will run minecraft recursively. 8->

    Not that he hasn’t thought of that. You know he has.

    1. I’ve tried that, but it won’t smelt. Maybe what I had wasn’t really iron ore. It’s hard to tell the blocks apart sometimes.

      1. Make sure you put the ore in the top left box, and your fuel source in the bottom left box. Smelted item will be in the far right box.

    2. Hey, Richard, you’re behind the times in hobby computing – once he gets it to be Arduino compatible he’ll get all kinds of blog cred :-)

      (Wow, it’s an amazing project…)

    3. Have you considered how big the 512,000,000 bytes of ram would be in Minecraft?
      1 bit of ram is roughly 5,3,7, minimum infinitely stack-able size,
      if you stack 40 in every stack, then you would need 100 million stacks, since they must not touch, that is 910,000*120*930,000 MINIMUM(you need 86 blocks thick of squished access wires and air space on average) for ram alone.

      Even if you can find a way to load this 56,875 chunk wide, 58,125 chunk long square from bedrock to sky, say on a multi-player server by having 12,915,315 people (more than there are MC buyers) stand on pillars in just the right spots, there are other problems.
      You must consider that the maximum rate redstone can function at is about 2 hertz without burning out, or 8 hertz burning out repeatedly, limiting the processing speed to 2 hertz.

      the longest distance repeaters can be placed at is is 16 blocks, this means that there will be a delay of up to 90 minutes for editing most of the ram, and another of up to 90 minutes to get it back.

      The block information is stored in 16 bit short variables per block, at roughly 108.3 trillion blocks it would require that the server running it have almost 217 terabytes of RAM to open the world, 170 times the human brain’s effective physical memory, more than half the size of the entire internet archive, enough to store and simultaneously load 72,000 full human genomes, or 8,000 windows vistas running at once, or 3,600 e8 theory 254 dimensional lattices, or a run-on single-spaced sentence 200 billion pages long, enough to encircle the globe in 12 pt font nearly 19,000 times. that said, there is only one computer i know of with that much ram, the IBM Sequoia, 1.6 PB of RAM, 20 Peta-FLOPS maximum multi-core speed spread across 1.6 million cores. that said, it isn’t done being built yet, so…
      I am pretty darn sure Java would get out of memory errors without some serious rethinking, forget trying java -xmx1024M, no, how about java -xmx256,000,000M, rest assured that it was never designed to do that.

      making a sufficiently large piston-based color display would require 2560×1600 blocks, meaning it must face up, and have people underneath, the wiring needs to be about 800 blocks thick, or at least 200, maybe even 400 if it went in all directions, that said, nobody will ever make that display, NOBODY, the world is too short, you could make a 25% scaled display, that would decrease the size, only 640x(50-200)x400 blocks, but it still needs 2 people inside, loading the world around them.

      making a 32 bit x86 would be a breeze compared to everything else discussed above, but would have 10second ops

  6. Reminds me of Neal Stephenson’s “Diamond Age” with the whole creating a Turing machine inside of a 3D world with a castle like object.


  7. Would’ve been great if he hadn’t recorded it at night.

    “This area of complete darkness is the RAM…”

  8. There will never be a need for more than 6 Minecraft computers in World 1.

    I’m sure he has more basic binary computing steps he’ll be tackling next, but I hope he has plans for a redstone 7 or 15 segment display.

    …on his way to the eventual redstone torch-as-pixel monochrome jumbotron.

  9. Reminds of that BB article from a few months (seasons?) back, about the turing-complete dwarf fortress computer.

    Really awesome!

Comments are closed.