An 8-bit minicomputer with a fully custom architecture
An 8-bit minicomputer with a fully custom architecture
A fully custom 8-bit minicomputer with a unique architecture.
The program above is running in the emulator, see programs/pong.asm for the source.
See the video on the design.
and the video on the build.
…A (0): GP register/arg 0
B (1): GP register/arg 1
C (2): GP register/arg 2
D (3): GP register/arg 3
L (4): GP register/(L)ow index register
H (5): GP register/(H)igh index register
Z (6): GP register/return value
F (7): flags (LSB to MSB)
LESS
EQUAL
CARRY
BORROWSee the spec for more information.
The schematic requires a modified version of Logisim Evolution to view, see here. You will need to build it from source.
Compile with $ make
Makefile automatically specifies C:/cdevlibs)gcc and ld to PATHMakefile to the location of XXD (including the executable name) or add xxd to PATHasm)./bin/asm [-h] [--help] [-v] [--verbose] [-n] [--no-builtin-macros] [-o file] file
emu)./bin/emu [-m/--mod module] [-r/--run] [-l/--load file address] [ROM file]
SET <register> <data>: set register dataGET <register>: get register valuePEEK <address>: get memory valuePOKE <address> <data>: set memory dataINB <port>: get port dataOUTB <port> <data>: write port dataSTEP: step one instructionDUMP: print current machine stateLOAD <ROM file> <address>: load ROM at addressMODS: list modulesMOD <module>: load moduleDEVICES: list devicesRUN <speed?>: run at speed (hz) until haltQUIT: quitNo open issues yet, or sync has not completed.