cc65 - a freeware C compiler for 6502 based systems https://github.com/cc65/cc65
Find a file
Matthew D. Steele cf1bc4fad4 Fix Pop() implementation in src/sim65/paravirt.c (fixes #1625)
The Pop() function was not handling stack pointer wrap around correctly.

Also, change the simulated RTS implementation in ParaVirtHooks() to
explicitly sequence the two Pop() calls in the correct order.
2022-01-07 09:56:46 -05:00
.github/workflows Install system packages before checking out the repo. 2021-12-12 23:54:17 -05:00
asminc Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
cfg Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
doc Updated URL and improved consistency. 2021-12-12 23:59:22 +01:00
include Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
libsrc Made cbm_open() be more efficient. 2021-12-24 00:10:04 -05:00
samples Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
src Fix Pop() implementation in src/sim65/paravirt.c (fixes #1625) 2022-01-07 09:56:46 -05:00
targettest Merge branch 'master' into master 2021-11-23 22:56:51 +01:00
test added test related to issue #1552 fixed in pr #1571 2021-09-28 18:55:23 +02:00
util Removed unnecessary tool. 2020-07-19 13:16:29 +02:00
.gitattributes Added .gitattributes to force LF line endings on commit. 2017-03-12 18:13:18 +01:00
.gitignore Don't ignore more than necessary. 2016-06-01 22:36:38 +02:00
.travis.yml Don 2021-09-29 14:48:09 +02:00
LICENSE Simplified license. 2015-05-05 21:56:23 +02:00
Makefile Added test target. 2020-07-22 23:27:04 +02:00
Makefile.travis The doc now lives in the 'master' branch of the 'doc' project. 2018-09-18 23:39:11 +02:00
README.md Re-added build status badge 2021-12-11 15:28:29 +11:00

Windows Snapshot

Documentation

Wiki

Snapshot Build

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 2600 console.
  • the Atari 5200 console.
  • GEOS for the C64, C128 and Apple //e.
  • the Bit Corporation Gamate console.
  • the NEC PC-Engine (aka TurboGrafx-16) console.
  • the Nintendo Entertainment System (NES) console.
  • the Watara Supervision console.
  • the VTech Creativision console.
  • the Oric Atmos.
  • the Oric Telestrat.
  • the Lynx console.
  • the Ohio Scientific Challenger 1P.
  • the Commander X16.
  • the Synertek Systems Sym-1.

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