cc65

From C64-Wiki
Jump to navigationJump to search
Stub This article is very short and not very detailed. Please help to improve it.
cc65
Screenshot
Developer John R. Dunning
Ullrich von Bassewitz
Oliver Schmidt
Company
Publisher http://www.cc65.org
http://cc65.github.io/cc65/
Release 1999
Licence zlib License (source)
CC-BY 3.0 (documentation)
Platform AmigaOS, Linux, Microsoft Windows, MS-DOS, OS/2, and QNX.
Genre Compiler, Assembler
Operation Keyboard
Media Source code https://github.com/cc65/cc65
Language(s) Language:english
Information http://cc65.github.io/cc65/

cc65 is a cross development tool for any 6502 based computer, including the Commodore 64. The cc65 package includes a C language cross compiler, linker, and macro assembler. The cc65 compiler has been in continuous development as an open source project since 1999 started by Ullrich von Bassewitz. However, its roots go back even farther to a Small C compiler written by John R. Dunning for the Atari 8-bit line of computers.

Once released as an open source project the code-base began to quickly evolve. Consequently, the C compiler became more robust and is now nearly ANSI C compatible. Further, the total number of available target platforms quickly ballooned.

Supported Platforms[edit | edit source]

Commodore Machines[edit | edit source]

Non-Commodore Computers[edit | edit source]

6502-Based Consoles[edit | edit source]

  • Atari 2600 console
  • Atari 5200 console
  • Atari Lynx handheld console
  • Bit Corporation Gamate handheld console
  • NEC PC-Engine console
  • Nintendo Entertainment System console
  • Watara Supervision handheld console
  • VTech Creativision console

As of 2013 Ullrich von Bassewitz stepped away from the project and Oliver Schmidt, a longtime contributor, took over the the project. The source code and revision history is now available on GitHub. The most significant outstanding issue for cc65 remains the lack of floating point arithmetic support in the math library. Support for 32 bit floating point arithmetic remains a stated goal of the project in the official project roadmap.

Aside from this, the C compiler included with cc65 is able to fully utilize all of the C64's custom chips via the <c64.h> header. The <conio.h> header provides for text based console output, and the <tgi.h> library provides for access to the VIC-II's graphics features. Other additional libraries provide support for joysticks, mice, serial communication, and expanded memory.

Others[edit | edit source]

Example of TGI library

[1]

Another example of TGI library


Links[edit | edit source]

WP-W11.png Wikipedia: cc65

References[edit | edit source]

  1. Sourcecode by darth-vader