MicroSD DOS for the EB6502, Porting games for the Apple II; Chess, Breakout and Gomoku too!
Channel: Eric Badger
Date: 2023-07-29

In this video, I walk through a set of open source GitHub projects designed for the Apple II.  I've ported them to my homebrew computer and share my GitHub forks in the hopes that it will be helpful to someone who is or will build a homebrew computer.

Backstory
6502 childhood dream come true (+VGA, Pi Pico, and Lode Runner too)
https://www.youtube.com/watch?v=e65qVK7zNGM&t=121s&pp=ygUGZWI2NTAy

Micro SD card
https://github.com/gfoot/sdcard6502
https://www.youtube.com/watch?v=5bgyyv5woLA

@GeorgeFoot created these FAT32 routines in 6502 assembly to read from an SD card through VIA bitbanging SPI which is awesome!
r/unstinkable - also goes by Waverider / r/Unstinkable has a PR out in that repo that adds writing support.

MSBasic and DOS
https://github.com/ebadger/msbasic
I took both and integrated into my MSBasic fork of the PageTable repo and started writing a DOS

About the ports:
I've provided links to my fork so you can see the changes I've made from the original while easily getting back to the original repositories.

CC65
In my fork of CC65: https://github.com/ebadger/cc65
I've added the ebadger6502 as a machine target.  You can look at my fork to see how to do this for your own machine.
I've also started building up the CRT routines that have been required by the ports thus far.

Conway's Game of Life
https://github.com/thelbane/ConwayII
Lee Fastenau wrote an Apple II version of this famouse computer science simulation, and published it on GitHub.
It uses the text mode, and it runs quite well!

Breakout!
https://github.com/ebadger/eb6502_c_programs
The classic breakout game implemented in C for the CC65 compiler by Pyrex8.  Open source and designed for the Apple II, I've ported to my homebrew. 

CC65-Chess
https://github.com/ebadger/cc65-Chess
An Amazing open source Chess game for the 6502 created by Stefan Wessels.  Very amenable to porting as it's designed for easy porting and has already been ported to multiple 6502 systems.  There is even a version with ASCII output.  It's a little big so you'll need 32KB of RAM available to load it.  I ported the Apple II version.  

Gomoku
https://github.com/ebadger/gomoku
Another great open source 6502 contribution by Stefan Wessels.  The game is fun and difficult.  Had never heard of this game before the port, but it sure is fun.  Multiple machine versions, ported from the Apple II.  @TheEightFour 

LunarMission
https://github.com/ebadger/LunarMission
An Apple II open source version of a lunar lander game by the 8bitclub.

Balls
https://github.com/ebadger/apple_ii_asm_programs
Ported a Balls demo written for the Apple II.  Lots of motion, lots of bouncing.

Really appreciate these super cool open source 6502 projects. I hope my forks will be useful in helping you to port.

Feel free to contact me: eric.badger(at)gmail.com
Will be at the Portland Retro Gaming Expo this year (Oct 2023)
Will be bringing my homebrew computer.

If you want to build a homebrew computer and don't know where to start, try @BenEater 

Thank you!