6502
TaliForth2
Our great sponsors
6502 | TaliForth2 | |
---|---|---|
6 | 5 | |
284 | 81 | |
- | - | |
7.5 | 0.0 | |
10 days ago | over 1 year ago | |
Assembly | Assembly | |
- | GNU General Public License v3.0 or later |
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.
6502
- Minimal bare-metal RISC-V project
-
Running Apple 1 software on a breadboard computer (Wozmon) [video]
The Apple 1 ROM is quite a tight piece of coding. Just 256 bytes which implements basic console IO, and memory editing in hex. And still two bytes left over.
One version with lots of comments: https://github.com/jefftranter/6502/blob/master/asm/wozmon/w...
You can see a classic assembly language space optimizing trick at PRBYTE. It first prints the upper half of the byte in hex with call to the PRHEX procedure, then falls through to PRHEX again to print the second half. Two entry points to a common routine.
-
KIM-Venture -- adventure game based on Colossal Cave written for KIM-1 computer (source code available)
The First Book of KIM programs
- It's quite BASIC
-
Playing Cosmic Conquest, a old-style real-time strategy game, on my breadboard 6502
For a command line program I started out with getting WOZMON working and then began adding more capabilities similar to the Apple II system of old. I got tired of adding one-off functionality and discovered Forth when looking at programming languages suited for systems with limited resources. Look into TaliForth2 to get up and running fast on your 6502. The full program requires 24k ROM but can be slimmed down to fit in 16k pretty easily. I was inspired so I wrote my own Forth 2012 Standard version over the summer.
-
Hey anyone tried to write an assembler for the 6502?
Jeff Tranter has a github with a ton of stuff 6502, including a mini assembler. Many others out there as well.
TaliForth2
- Alternative to WozMon
-
Adding a separate debug window to the py65 6502 emulator
Note that I've coded the debug window to work with my hardware binary which supports interrupts. As such it's somewhat specialized to my build and likely wouldn't work with your build without modification. Let me know if you're interested and I could point out changes needed for you build. Alternatively, I could fork the py65 GitHub and prepare a working version with my build's binary. As an added benefit you could play with my Forth operating system (though if your main interest is that then I'd recommend some better tested versions for the 6502, like Tali Forth 2 for example).
-
Playing Cosmic Conquest, a old-style real-time strategy game, on my breadboard 6502
For a command line program I started out with getting WOZMON working and then began adding more capabilities similar to the Apple II system of old. I got tired of adding one-off functionality and discovered Forth when looking at programming languages suited for systems with limited resources. Look into TaliForth2 to get up and running fast on your 6502. The full program requires 24k ROM but can be slimmed down to fit in 16k pretty easily. I was inspired so I wrote my own Forth 2012 Standard version over the summer.
-
From breadboard to soldered version
Get Taliforth running on it
-
Hey anyone tried to write an assembler for the 6502?
I got tired of creating one-off functionality so I'm now working with Forth which is kind of like an operating system/programming language combined. It's pretty easing to get a version of that running on your 6502. Tali Forth 2 by Scott Stevenson ports pretty easily and has an editor, assembler and disassembler.
What are some alternatives?
Cosmic-Conquest-1982 - (Historic) Resurrecting one of the first real time strategy (RTS) games from 1982. Written in Forth.
hbc-56 - Homebrew 6502 on a backplane computer
of816 - Portable 32-bit Forth for the 65C816.
py65 - Emulate 6502-based microcomputer systems in Python
NES-dev - A simple NES game written in 6502 assembly
abn6502 - Solving the global IC shortage by reusing old stuff!
sixty5o2 - Micro Kernel / Bootloader for Ben Eater's 6502 Computer
derzforth - Bare-metal Forth implementation for RISC-V
msbasic - Microsoft BASIC for 6502 (Commodore, Apple, KIM-1, AIM-65, OSI, ...)
lynx_hacking - Collection of Lynx demos, trial.