cc65

From Seo Wiki - Search Engine Optimization and Programming Languages
Jump to navigationJump to search

cc65
Developer(s) Ullrich von Bassewitz
Stable release 2.13.1 / January 2, 2010; 464287052 ago
Operating system Multiplatform
Type Cross compiler
License zlib license/other
Website www.cc65.org

cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, librarian and several other tools.

It is based on a C compiler that was originally adapted for the Atari 8-bit computers by John R. Dunning. The original C compiler is a Small C descendant but has several extensions, and some of the limits of the original Small C compiler are gone.

The original cc65 compiler was freely redistributable in source form, but does not qualify as Open Source Software according to the Open Source Definition because distribution of the software for monetary profit is not allowed.

The toolkit has largely been expanded by Ullrich von Bassewitz and other contributors. The actual cc65 compiler remains under the "freeware" license until it is completely rewritten, but the efforts have already produced a complete set of binary tools (assembler, linker, etc) and runtime library under a license identical to zlib's. The ca65 cross-assembler is one of the most powerful 6502 cross-assemblers available under an open-source license.

The compiler itself is almost completely ANSI C compatible, though not completely. The C library is quite extensive, and allows extensive usage of the target platform's hardware. stdio is supported on many platforms, as is Borland-style conio.h screen handling. GEOS is also supported on the Commodore 64. The library supports many of the Commodore platforms (C64, C128, C16/116/Plus/4 P500 and 600/700 family), Apple II family, Atari, Oric Atmos, Nintendo Entertainment System and Watara Supervision game console.

The officially supported host systems include Linux, Microsoft Windows, DOS and OS/2, but the source code itself is quite portable and has been reported to work almost unmodified on many platforms beside these.

Supported API

static

  • conio (text-based Console I/O)
  • dio (block-oriented disk I/O bypassing the file system)

dynamic

  • em (expanded memory, used for all kinds of memory beyond the 6502's 64K barrier).
  • joystick (relative input devices)
  • mouse (absolute input devices)
  • serial (communication)
  • tgi (2D graphics primitives like BGI)
conio dio emd joy mou ser tgi
apple2 x x 1 1 1 1 2
apple2enh x x 1 1 1 1 2
atari x x 2
atmos x 1
c16 x 1 1
c64 x 6 4 3 1 1
c128 x 5 2 3 1 2
cbm510 x 1 1 1
cbm610 x 1 1
geos x x 1 1 1
lynx 1 1
nes x 1
pet x 1
plus4 x 1 1
supervision
vic20 x 2

Note: For static libraries, 'x' means 'available'. For dynamic libraries, the columns list the number of available drivers.

External links

de:cc65

If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...