Projects / cc65


An almost ISO C compatible C compiler that produces binaries for 6502-based computers. Targets that are supported out of the box are: Apple ][, Atari 8-bit machines, Commodore C64/C128/C16/C116, Commodore Plus/4, Commodore 600/700, GEOS for C64, and Lynx. The package includes a complete suite of assembler development tools (assembler, linker, archiver) which allows mixing of C and assembler code.

Operating Systems

Recent releases

  •  16 Sep 2013 14:52

    Release Notes: No changelog provided for this release.

    •  09 Mar 2012 08:14

      Release Notes: Some macro issues and problems with incorrect code generated by the C compiler have been fixed. This includes converting a function to void pointer and the runtime division routine. The assembler also had some macro issues and a problem with alignments greater than 256 bytes. There were problems with 80 column mode and conio scrolling in the C128 library. The Atari library now has POSIX directory routines. There have been several documentation changes, fixes, and improvements.

      •  05 Jan 2010 21:49

        Release Notes: A missing export for loading the serial driver was added. Fixes were made for the new bit-field support and initialization of local arrays with unspecified size. The Apple ][ target makes use of bit-fields in dirent.h. Unknown preprocessor directives in #if blocks that are not executed are ignored. The documentation was improved.

        •  12 Oct 2009 18:15

          Release Notes: Support for bit-fields has been added. This release improves standards compliance, and additional warnings are emitted for dubious code. The libraries are tuned for more speed or smaller size. The compiler generates faster code in many cases, usually without much of an increase in code size.

          •  05 Dec 2005 05:55

            Release Notes: The assembler now supports 6502 illegal opcodes, the SWEET16 pseudo CPU, the HuC6280 CPU, and "no" CPU (no opcodes defined). Better error messages are now given for range errors, and some code fixes were done. The C preprocessor was rewritten. The C compiler now supports some new pragmas, better inlining of standard functions, and improved code for shifts. The library now includes loadable mouse drivers, lots of improvements for the apple2 target, a new lynx target, and a full scanf for standard io and conio.

            Recent comments

            29 Jul 2004 13:58 BlackJack

            Re: license clarification
            The sources are covered by multiple different licenses and
            "Other/Proprietary License with Source" seems to be the
            best fit for the "license cocktail".

            27 Jul 2004 20:29 skquinn

            license clarification
            The license appears to me to be pretty close to a

            BSD/X11-type license, not the "other proprietary license

            with source" that is shown. Note some people do filter on

            license type.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.