1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65 - a freeware C compiler for 6502 based systems
Go to file
Piotr Fusik 8c1f12f06b Fix casting an r-value to char.
For example:
int f(int i, int j) { return (char) (i + 1) == j; }
f(0x1234, 0x35) returned 0.

This bug caused zlib/uncompress return Z_DATA_ERROR on correct input.
2014-09-22 23:47:20 +02:00
asminc Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
cfg
doc Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
include Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
libsrc Changed literal zeroes of the style "#>0" into the style "#>$0000". 2014-09-10 19:15:07 -04:00
samples Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
src Fix casting an r-value to char. 2014-09-22 23:47:20 +02:00
testcode Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
util Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
.gitignore
.travis.yml
LICENSE
Makefile
Makefile.gh-pages
README.md

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 Nintendo Entertainment System (NES) console.
  • the Supervision console.
  • the Oric Atmos.
  • the Lynx console.

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