6502
Cosmic-Conquest-1982
Our great sponsors
6502 | Cosmic-Conquest-1982 | |
---|---|---|
6 | 4 | |
284 | 34 | |
- | - | |
7.5 | 1.8 | |
10 days ago | over 2 years ago | |
Assembly | Forth | |
- | - |
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.
Cosmic-Conquest-1982
-
Playing Cosmic Conquest, a old-style real-time strategy game, on my breadboard 6502
Cosmic Conquest was a challenge on r/Forth to get an old Apple II game written in Forth running on modern hardware. u/rickcarlino spearheaded the effort, documented in his GitHub. I thought it would be a nice project to try out on my new Forth system. It gave my system a workout and enabled me to identify a few bugs I hadn't seen before..
-
Enhanced version of Cosmic Conquest (a Forth based game from 1982)
I've been having fun getting Cosmic Conquest, the 1982 real-time strategy game written in Forth, to run on my 6502 SBC. This has been discussed here and here. Thanks to /u/rickcarlino and /u/erroneousbosh for their work on the GForth version of this project. You can find the raw source code of my version here. Note that my version has 16 bit cells. You might need to make minor modifications where FLEETS and F use ! and @ to get my version running on a Forth with larger cells.
-
Type-in FORTH code from 1982 - would it work ?
Sounds good. I went ahead and created a Github repo for my progress: https://github.com/RickCarlino/Cosmic-Conquest-1982
- An attempt at resurrecting Cosmic Conquest (1982). PRs welcome. I expect a challenge on this one.
What are some alternatives?
hbc-56 - Homebrew 6502 on a backplane computer
TaliForth2 - A Subroutine Threaded Code (STC) ANS-like Forth for the 65c02
py65 - Emulate 6502-based microcomputer systems in Python
Cosmic-Conquest - An enhanced version of the 1982 real-time strategy game Cosmic Conquest
NES-dev - A simple NES game written in 6502 assembly
sixty5o2 - Micro Kernel / Bootloader for Ben Eater's 6502 Computer
msbasic - Microsoft BASIC for 6502 (Commodore, Apple, KIM-1, AIM-65, OSI, ...)
risc-v_assembly_1 - risc-v assembly code outputting squares of integers by by Bruce Hoult
RC6502-Apple-1-Replica - An expandable SBC-version of the Apple 1 computer, easy to get started with and lot of cool stuff that can be added to it!
riscv-hello-uart - Minimal bare-metal RISC-V assembly code with UART output for execution in QEMU