8-bit-CPU
Homebrew 8-bit CPU (by Velko)
customasm
💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/ (by hlorenzi)
Our great sponsors
8-bit-CPU | customasm | |
---|---|---|
11 | 10 | |
10 | 680 | |
- | - | |
9.0 | 7.8 | |
5 months ago | 3 months ago | |
Python | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
8-bit-CPU
Posts with mentions or reviews of 8-bit-CPU.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-08.
-
Adding a keypad to Ben's 8-bit computer build
I later built a version that can read/store a full byte (2 key-presses) and present it to a CPU.
-
How bad of an idea is this?
My code is available here, it has evolved since then and I actually abandoned the in-Arduino emulator later (re-wrote that part in Verilog). So it is best viewed at historical tag "emulator_1.0" in the repository.
-
Arduino EEPROM programmer for Finch Image (Video Card)
Mark your data using PROGMEM directive (see example).
-
Breadboard CPU on Arduino Nano?
My project sources are on GitHub. Theres a lot going on, and it is probably a bit over-engineered. You can start by taking a look at Arduino sketch and client library.
-
Ben's 8 Bit Computer in an FPGA
I wrote an emulator for mine, then extended it to test out different designs, before building on hardware. The approach was a bit different, as I started by implementing 74-series logic chips. Then "wired" them together into CPU modules. This way emulator becomes a testable representation of what's possible using logic chips.
-
Building the 8-bit computer in software
I wrote an emulator for my CPU in Verilog. Actually, I made it to test out various aspects before building, real hardware has not yet cached up with it.
-
My 8-bit cpu running at full speed
The source code was in Python. I was able to debug it using Arduino-based adapter and (by using some "magic") translate into machine code binary. Since then I've switched to CustomAsm for code compilation and have other means to debug (emulator and debugger tool).
-
Possible Alternative to EEPROM programmer?
If you looking for examples: here's how you create the array (code generated using xxd -i command), and here's how you use the array.
-
Fully automatic boot loader for the 8-bit CPU?
In the beginning of program (on EEPROM), there's a small piece of code that reads all 256 address locations and writes them back. In BOOT mode, this effectively copies contents from ROM into RAM.
-
If the manual says, never power Teensy from the USB and from Vin at the same time ..................................................................
Complicated? Perhaps, but do not underestimate the power of automated testing! When you can run a couple dozen tests in just few seconds, at any time, it really gives you confidence about the system. Obviously, one should spend time writing the tests, but it pays back rather quickly.
customasm
Posts with mentions or reviews of customasm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-07.
-
Defining assembly instructions has killed my love of this game ultra fast.
I'm using customasm to write code in Turing Complete.
-
I was making adder circuits in games 8 years ago in an attempt to build a computer. I finally worked my way up and built a working computer!
also if you start writing programs for your own CPUs, use something like CustomASM so you don't have to write in machine code.
-
Vending Machine - FPGA
either way if you plan on doing more CPUs and similar in the future i highly recommend CustomASM.
-
My 8-bit cpu running at full speed
The source code was in Python. I was able to debug it using Arduino-based adapter and (by using some "magic") translate into machine code binary. Since then I've switched to CustomAsm for code compilation and have other means to debug (emulator and debugger tool).
- An assembler for custom, user-defined instruction sets
-
A really good assembler/compiler
Even though technically not an emulators-related post, I'd like to share a tool I've recently learned came across and found to be really useful. It's called customasm and is open source. It can compile assembly of any kind as long as you feed it with (what's called) rules-definition. You can even write a higher level language profile (such as C, sort of) through it, the possibilities are countless, so to say.
-
Programming a breadboard computer via customasm
I've got the documentation in the wiki! https://github.com/hlorenzi/customasm/wiki/User-Guide
-
CUSTOMASM, using customasm is cool (made by hlorenzi). You write some code in assembly in a text editor, assemble, download to the breadboard computer and run it. Changing modifying or extending code goes superfast. Best programming tool sofar. Description of the code in the comment section.
Thanks to hlorenzi, making an assembler is a bunch of work. https://github.com/hlorenzi/customasm
-
Today I finished the RAM module for my 16-bit breadboard computer!
anyways, it might be a good idea to throw the entire project on Github once it's done. stuff like schematics, BOM, details about the function of the CPU, maybe an Assembler (CustomASM is pretty good), also maybe a simulator version in something like Digital or Logisim so that people can look at it, write programs, or rebuild it with different parts and such
-
I was wanting an assembler I can use with my breadboard CPU, but the only one that allowed custom ISAs is Windows only. So, I created my own assembler with Python for custom ISAs, and included a configuration file for the original instruction set of Ben Easter's SAP-1. Still a bit rough, but usable.
I used https://github.com/hlorenzi/customasm along with info from https://www.reddit.com/r/beneater/comments/cori8t/custom_asm_compiler_definition/
What are some alternatives?
When comparing 8-bit-CPU and customasm you can also consider the following projects:
logisim-evolution - Digital logic design tool and simulator
bespokeasm - An assembler that works with custom instruction sets.