• Sign Up
  • Archive

Cosmic CPU

Source: https://github.com/clbx/

Wow. Simply. Wow. Pretty much everyone involved in retrocomputing will sooner or later be tackle the topic of processor design. Next Level. Understanding how a general purpose CPU actually works, how assembly instructions are implemented by the hardware using microcode, and realizing how an ALU implements all the math based on electrons whizzing around, is akin to enlightenment. Once you have understood this, no technological development will ever get you off track again.

Clay Buxton and Kevin Carman must have thought something similar. 100 stars on Github can't be wrong, and after our first tests, we're just thrilled.

With Cosmic, Clay and Kevin have built a virtual CPU and a complete runtime environment, that allows anyone to see and understand the inner workings of a CPU.

The simulation comes with eight 8-bit registers, an accumulator, 64k of memory and a complete and beautiful GUI that allows writing assembly code, execution, single stepping and debugging in a single interface. A well thought out instruction set, an assembler and the ability to run the whole thing on a Raspberry PI make the project a real stunner.

In a Linux VM the compile process was trouble-free. Remember to recursively clone the project and update the git submodules. On a M1 Mac build for x86_64 via `arch -x86_64 make`. Clay just fixed the source, so it works on BigSur and above. (Big Thx!)

You are a friend of homebrew CPUs? Ben Eater is your best friend? Then you can't miss this project!

Really outstanding work Clay and Kevin!

Share the signal:

Read the full newsletter Issue #25 of 8bitnews.io: Dual Screen C64

More from #25

Don't want to miss updates like that? Subscribe below and receive regular content that we only share with our subscribers.

Don't Miss

Sign up for our retro & computing magazine and get content like that regularly. Relevant. Up to date. Free.

We send our subscribers one update twice a month. Retrocomputing topics well curated by a team who love machines of the 70s, 80s and 90s as much as you do.

  • Terms
  • Privacy
  • Imprint