https://github.com/sehugg/0boot-cc65
Produces an Apple ][ .DSK file entirely with the CC65 linker (using 0boot)
https://github.com/sehugg/0boot-cc65
Last synced: 7 days ago
JSON representation
Produces an Apple ][ .DSK file entirely with the CC65 linker (using 0boot)
- Host: GitHub
- URL: https://github.com/sehugg/0boot-cc65
- Owner: sehugg
- License: mit
- Created: 2023-11-24T02:04:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-25T18:01:37.000Z (over 2 years ago)
- Last Synced: 2025-03-05T04:17:42.520Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 107 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
0boot-cc65
=====
This is a demo of using [0boot](https://github.com/a2-4am/0boot/tree/master) and the CC65 toolchain to produce a DSK file using the linker. It loads and runs a C program. Because there is no DOS present and all the zeropage variables have been wiped by the bootloader, both the CC65 library functions and the ROM routines are a little confused, and we have to fix-up memory a bit. This could be fixed with a different crt0 and stdlib functions, or just by using CA65 directly. If you avoid all ROM calls, you can use all 256 bytes of zero page.
Thanks to the #embed keyword the demo program only works in [dev builds](https://sehugg.github.io/8bitworkshop/?platform=apple2) of 8bitworkshop, for now.