Home
greg-king5 edited this page Apr 21, 2021
·
46 revisions
Pages 68
Clone this wiki locally
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.
- AmigaOS
- GNU/Linux
- Microsoft Windows
- OS X
- GNU/QNX
Target platforms
- Apple II
- Atari 2600 and other Atari 8-bit machines
- Commander X16
- 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
- Using cc65 with Visual Studio Code
- Using cc65 with Emacs
- Using ca65 with foreign source
- Using runtime zeropage locations in assembly language
Frequently asked questions
Reminders
Library internals
- Tiny Graphics Interface
- Priority of constructors, destructors, and interruptors
- Segment usage of constructors
Compiler internals
- The primary register
- Parameter and return stacks
- Parameter passing and calling conventions
- Roadmap
- Changes
- Benchmarks
Debug information
Applications
Content on this wiki is licensed under the following license: CC Attribution 3.0 Unported