GitHub - drmortalwombat/oscar64: Optimizing Small memory C Compiler Assembler and Runtime for C64
oscar64
Optimizing small space C Compiler Assembler and Runtime for C64
History and motivation
It is a sad fact that the 6502 used in the Commodore64 and other home computers of the 80s is widely believed to have a poor code density when it comes to compiled or wider than eight bit code. The C standard requires computations to be made with ints which work best if they have the same size as a pointer.
The 6502 also has a very small stack of 256 bytes which cannot be easily addressed and thus can...
Read more at github.com