cc65 - a freeware C compiler for 6502 based systems https://github.com/cc65/cc65
Find a file
OzHawk 8bd2628d1e Update the missing entries in the kernel jump table for the Vic20 with the actual function addresses.
The Vic20 does not have kernal table entries for the following functions.

;-----------------------------------------------------------------------------
; Functions which are not in the kernal jump table for VIC-20 but are for C64

CINT        := $E518
IOINIT      := $FDF9
RAMTAS      := $FD8D

All other kernal entries are the same as the C64, however, without this change, the startup code fails.

Without this change the vic20.lib builds incorrectly.
2016-05-11 19:24:16 +09:30
asminc Merge pull request #283 from polluks/sp65 2016-04-14 11:28:25 +02:00
cfg Converted the Atmos configuration to the new constructor segment model. 2016-03-18 11:28:56 -04:00
doc Added the optional C keyword "volatile" to the __asm__ statement grammar. 2016-04-22 11:33:52 -04:00
include Merge pull request #238 from mrdudz/gamate 2016-02-27 18:44:26 +01:00
libsrc Update the missing entries in the kernel jump table for the Vic20 with the actual function addresses. 2016-05-11 19:24:16 +09:30
samples fix hello.c 2015-11-30 19:48:10 +01:00
src Added the optional C keyword "volatile" to the __asm__ statement grammar. 2016-04-22 11:33:52 -04:00
test Added a cc65 regression test for pointer and offset addition operations. 2016-01-01 11:39:55 -05:00
testcode Merge pull request #238 from mrdudz/gamate 2016-02-27 18:44:26 +01:00
util dont use that silly buffer 2015-11-29 21:15:10 +01:00
.gitignore use 'testwrk' dir for bdiff 2014-11-25 12:56:45 +01:00
.travis.yml Update package index (as recommended by Travis CI). 2015-12-16 12:24:47 +01:00
LICENSE Simplified license. 2015-05-05 21:56:23 +02:00
Makefile Create zip file. 2014-03-09 00:20:17 +01:00
Makefile.travis Fixed file name of Windows binary snapshot. 2015-01-20 21:00:44 +01:00
README.md Merge pull request #238 from mrdudz/gamate 2016-02-27 18:44:26 +01:00

Windows Snapshot

Documentation

Wiki

Build Status

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.

cc65 has C and runtime library support for many of the old 6502 machines, including

  • the following Commodore machines:
    • VIC20
    • C16/C116 and Plus/4
    • C64
    • C128
    • CBM 510 (aka P500)
    • the 600/700 family
    • newer PET machines (not 2001).
  • the Apple ][+ and successors.
  • the Atari 8 bit machines.
  • the Atari 5200 console.
  • GEOS for the C64, C128 and Apple //e.
  • the Bit Corporation Gamate console.
  • the NEC PC-Engine (aka TurboGrafx-16).
  • the Nintendo Entertainment System (NES) console.
  • the Watara Supervision console.
  • the Oric Atmos.
  • the Lynx console.
  • the Ohio Scientific Challenger 1P.

The libraries are fairly portable, so creating a version for other 6502s shouldn't be too much work.