larsbrinkhoff / lbForth

Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
GNU General Public License v3.0
414 stars 113 forks source link

C64 6502 target #25

Open larsbrinkhoff opened 7 years ago

larsbrinkhoff commented 7 years ago

PRG file format: https://hkn.eecs.berkeley.edu/~mcmartin/ophis/manual/x51.html

larsbrinkhoff commented 7 years ago

Just run the PRG directly: http://vice-emu.sourceforge.net/vice_3.html#SEC23

larsbrinkhoff commented 7 years ago

http://csl.sublevel3.org/post/c64-coding/

larsbrinkhoff commented 7 years ago

KERNAL functions:

https://en.wikipedia.org/wiki/KERNAL https://en.wikipedia.org/wiki/Commodore_DOS https://www.c64-wiki.com/index.php/Kernal http://sta.c64.org/cbm64krnfunc.html http://codebase64.org/doku.php?id=base:io_programming http://codebase64.org/doku.php?id=base:reading_a_file_byte-by-byte

larsbrinkhoff commented 7 years ago

Memory map:

http://sta.c64.org/cbm64mem.html https://www.c64-wiki.com/index.php/Memory_Map https://www.c64-wiki.com/index.php/Bank_Switching