llvm-mos / llvm-mos-sdk

SDK for developing with the llvm-mos compiler
https://www.llvm-mos.org
Other
279 stars 55 forks source link

[commodore] Implement KERNAL LOAD function as inline assembly #373

Closed mlund closed 2 months ago

mlund commented 2 months ago

Using inline asm reduces the overhead of calling ROM routines significantly. The plot below shows the final size for an example C64 PRG file. inline