The Sharp Ninja edited this page Mar 20, 2018 · 40 revisions

Table of Contents

What is cc65?

cc65 is a complete package, which includes

  • a C compiler for machines with a 6502-compatible CPU,
  • a powerful macro assembler,
  • a linker, a librarian, and several other tools,
  • target libraries that support common 6502 platforms like the Commodore C64, the Atari 8-bit machines, the Apple II, and others,
  • documentation and more.

Host platforms

According to the original author and former maintainer: "With one exception in the compiler [access()], the code is plain ISO C; so, it should compile on most systems. Memory usage may be a problem, however."

cc65 surely can be compiled and run on the following platforms, for which GNU Compiler Collection -- GCC -- is available.

Target platforms

  • Apple II
  • Atari 2600 and other Atari 8-bit machines
  • Commodore machines
  • Bit Corporation Gamate game console
  • GEOS
  • NEC PC-Engine (TurboGrafx-16) game console
  • Nintendo Entertainment System game console
  • Ohio Scientific Challenger 1P
  • Oric Atmos and Telestrat
  • VTech Creativision game console
  • Watara Supervision game console

This cc65 project's coding guidelines

Setting up a cc65-based project

Tips and tricks

Frequently asked questions

Reminders

Library internals

Compiler internals

Debug information

Applications

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.