cc65 - a freeware C compiler for 6502 based systems https://github.com/cc65/cc65
Find a file
Greg King e63bf1cde1 Used a library-reference method to calibrate lightpen drivers.
The mouse reference is a pointer.  If it's NULL, the driver uses a default.  If it's non-NULL, then it points to a function that the driver can call.  That function will adjust the driver's calibration value.  It could ask the user to adjust the pen; or, it could read a file that holds a value from a previous calibration.

Application writers can choose how it's done: a function that's provided by the library, a custom function, or nothing.
2013-06-23 03:18:28 -04:00
asminc Added library reference address to lightpen driver header. 2013-06-03 06:09:22 -04:00
cfg Use cbm_load() to load overlays on CBMs. 2013-05-29 01:12:24 +02:00
include Used a library-reference method to calibrate lightpen drivers. 2013-06-23 03:18:28 -04:00
libsrc Used a library-reference method to calibrate lightpen drivers. 2013-06-23 03:18:28 -04:00
samples Use cbm_load() to load overlays on CBMs. 2013-05-29 01:12:24 +02:00
src Introduced target 'atarixl'. 2013-05-28 21:56:37 +02:00
testcode Used a library-reference method to calibrate lightpen drivers. 2013-06-23 03:18:28 -04:00
util Removed (pretty inconsistently used) tab chars from source code base. 2013-05-09 13:57:12 +02:00
.gitignore Ignore only top level directories. 2013-05-04 18:04:13 +02:00
.travis.yml Added top level Makefile. 2013-05-04 23:01:07 +02:00
LICENSE Added "the usual suspects". 2013-03-21 22:23:38 +01:00
Makefile Renamed [un]install goals to [un]avail. 2013-05-15 11:59:51 +02:00
README Minor consistency improvement. 2013-03-30 17:19:54 +01:00

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.

  - GEOS for the C64 and C128.

  - the Nintendo Entertainment System (NES).

  - 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.