/vrcpu

Code, documentation, schematics, notes for my Ben Eater inspired breadboard computer and emulator

Primary LanguageJavaScriptMIT LicenseMIT

vrCPU

Code, documentation, schematics, notes for my Ben Eater and James Bates inspired breadboard computer, assembler and web-based emulator using a C backend compiled to WASM.

The real deal

Structure

Arduino

  • Microcode EEPROM writer
  • DecimalDisplay EEPROM writer
  • ESP8266 Wi-Fi Program Loader
  • Page-write-enabled EEPROM writer library (Tested on Greenliant GLS29EE010)

Emulator (C library)

  • SimLib - The emulator core
  • SimInst - A single instance interface of the emulator core
  • SimWin - A windows executable around the library (used for testing)
  • SimWasm - Emscripten source and scripts to produce WASM output

Notes

Various files used while building the breadboard computer

Programs

Various ASM programs used to test the assembler (and the emualtor and physcial computer)

Web

A copy of most files from https://cpu.visualrealmsoftware.com including:

  • Assembler derived from customasm
  • Web-based Emulator (C engine compiled to WASM)

Videos

An overview

An overview.

Snake!

Snake!

Virtual versus reality.

Virtual versus reality.

Troy's breadboard computer - Triangular numbers

Troy's breadboard computer - Triangular numbers

Troy's breadboard computer - Emulator

Troy's breadboard computer - Emulator

License

This code is licensed under the MIT license