The original operating system interface (character I/O, LOAD, SAVE etc.) has been reimplemented in native C, so Commodore BASIC interfaces nicely with OS X/Windows/Unix – you can use pipe I/O, and you can pass the filename of a BASIC program on the command line. The huge C file in the archive has been produced by feeding the original 6502 code into my static recompiler and optimizing it with LLVM. This application is a recompiled version of the original Commodore 64 binary – it is not a reimplementation, so while it runs at pretty much the maximum possible speed, it is still 100% compatible. Update: The source is available at /mist64/cbmbasicĪttention Slashdot crowd, here is a little background: