mainspring
A CPU simulator framework built around, and to support the other tools under, the constraints of the first principles of computing project. (by ncatelli)
abn6502
Solving the global IC shortage by reusing old stuff! (by AndersBNielsen)
mainspring | abn6502 | |
---|---|---|
1 | 4 | |
12 | 70 | |
- | - | |
6.4 | 0.0 | |
3 months ago | over 1 year ago | |
Rust | Assembly | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
mainspring
Posts with mentions or reviews of mainspring.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-24.
-
Interpreter in Rust
First off, awesome, interpreters and emulators are really fun projects. I've written a very similar project which might be useful for reference https://github.com/ncatelli/mainspring. As for parsing to your enum representation KerfuffleV2 gave a great example for nom. That being said, if you'd like to peek behind the curtain a bit for combinators and the principles behind nom, Bodil Stokke has a WONDERFUL tutorial on the topic https://bodil.lol/parser-combinators/ which will be directly applicable to what you are trying to do. Additionally, while targetted at using java, https://craftinginterpreters.com/ by Bob Nystrom is available for free online and covers the topic of writing really simple recursive decent parsers.
abn6502
Posts with mentions or reviews of abn6502.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Simplest Kansas City Standard modem for a 6502 computer!
My code is a bit hard to read because of some APRS NRZ decoding mixed in with the KCS decoding but essentially I’m only measuring if the correct amount of cycles have passed(throwing away the other cycle data) and then detecting if the wave had a length above or below a threshold of $0600(somewhere around 1700Hz) timer1 counts (at 2MHz in my case). That leaves plenty of headroom but has pretty bad immunity to false zero crossings. You can have a look ca1irq: https://github.com/AndersBNielsen/abn6502/blob/main/abn6502rom.s
- I need help figuring out how to create a multiprocessor setup with 2 6502 CPUs.
- I want to make my graphics card on a pcb. Which software should I use to design the pcb?
-
6502 Coding in C or C++?
I’m using it for mine - same memory map as Ben’s. I only use the assembler for now though but will use the compiler some time in the future. It’ll probably help you get an idea how to set it up: https://github.com/AndersBNielsen/abn6502
What are some alternatives?
When comparing mainspring and abn6502 you can also consider the following projects:
madsim - Magical Deterministic Simulator for distributed systems in Rust.
TaliForth2 - A Subroutine Threaded Code (STC) ANS-like Forth for the 65c02
visual-system-simulator - Framework for simulating deficiencies and other aspects of the human visual system
hbc-56 - Homebrew 6502 on a backplane computer
chumsky - Write expressive, high-performance parsers with ease.
lynx_hacking - Collection of Lynx demos, trial.
c64_asm_book_listings - Listings from Commodore 64 Assembly books
awesome-electronics - A curated list of awesome resources for Electronic Engineers and hobbyists
apple2_hgrbyte - Explore the Apple 2 HGR amd DHGR esoteric screen layout with bit twiddling and byte manipulation.