HOME

TheInfoList



OR:

cc65 is a cross development package for 6502 and 65C02 targets, including a macro assembler, a C cross compiler,
linker Linker or linkers may refer to: Computing * Linker (computing), a computer program that takes one or more object files generated by a compiler or generated by an assembler and links them with libraries, generating an executable program or shar ...
,
librarian A librarian is a person who professionally works managing information. Librarians' common activities include providing access to information, conducting research, creating and managing information systems, creating, leading, and evaluating educat ...
and several other
tools A tool is an object that can extend an individual's ability to modify features of the surrounding environment or help them accomplish a particular task. Although many animals use simple tools, only human beings, whose use of stone tools dates ...
.


Overview

cc65 is based on a native C compiler that was originally adapted for the Atari 8-bit computers by John R. Dunning in 1989, which originated as a Small-C descendant. It has several extensions, and some of the limits of the original Small C compiler are gone. The toolkit has largely been expanded by Ullrich von Bassewitz and other contributors. The actual cc65 compiler, a complete set of binary tools (assembler, linker, etc.) and runtime library are under a license identical to zlib's. The compiler itself comes close to ANSI C compatibility, while C library features depend on the target platform's hardware. stdio is supported on many platforms, as is
Borland Borland Software Corporation was a computing technology company founded in 1983 by Niels Jensen, Ole Henriksen, Mogens Glad, and Philippe Kahn. Its main business was developing and selling software development and software deployment products. B ...
-style screen handling. GEOS is also supported on the Commodore 64 and the
Apple II Apple II ("apple Roman numerals, two", stylized as Apple ][) is a series of microcomputers manufactured by Apple Computer, Inc. from 1977 to 1993. The Apple II (original), original Apple II model, which gave the series its name, was designed ...
. The library supports many of the Commodore platforms (Commodore 64, C64, Commodore 128, C128, Commodore 16, C16/116/Commodore Plus/4, Plus/4, Commodore CBM-II, P500 and 600/700 family), Apple II, Atari 8-bit computers, Oric Atmos, Nintendo Entertainment System, Watara Supervision game console, Synertek Systems SYM-1 and Ohio Scientific Challenger 1P. Officially supported host systems include
Linux Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
,
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
MS-DOS MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few op ...
and
OS/2 OS/2 is a Proprietary software, proprietary computer operating system for x86 and PowerPC based personal computers. It was created and initially developed jointly by IBM and Microsoft, under the leadership of IBM software designer Ed Iacobucci, ...
, but the source code itself has been reported to work almost unmodified on many platforms beside these. The ca65 macro assembler supports 6502, 65C02, and 65C816 processors, and can be used standalone without the C compiler.ca65 Users Guide
/ref>


Supported API


static

*conio (text-based console I/O non-scrolling) *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, similar EMS) *joystick (relative input devices) *mouse (absolute input devices) *serial (communication) *tgi (2D graphics primitives inspired by BGI) Note: For static libraries, "Yes" means the feature is available. For dynamic libraries, the columns list the number of available drivers.


References

{{reflist, refs= By Fatih Aygün. CIRCLE doesn't work at all, some graphics modes may crash on some machines.


External links


Official website (archive)
(no longer maintained)
Modern github fork of cc65




* ttps://github.com/efornara/jbit/wiki/Android Android host C (programming language) compilers Cross-compilers Free and open source compilers Assemblers Atari 8-bit computers Commodore 64 Apple II family