2 This directory contains sample programs for the cc65 compiler.
4 Below is a short description for each of the programs together with a list of
5 the supported platforms.
9 * The supplied makefile needs GNU make. It works out of the box on Linux
10 and similar systems. If you're using Windows, you will have to compile
11 the programs manually.
13 * The makefile specifies the C64 as the default target platform, because all
14 of the programs run on this platform. When compiling for another platform,
15 you will have to change the line that specifies the target system at the
19 List of supplied sample programs:
21 -----------------------------------------------------------------------------
23 Description: Shows the ASCII (or ATASCII, PETSCII) codes of typed
24 characters. Written and contributed by Greg King
26 Platforms: All platforms with conio or stdio (compile time
29 -----------------------------------------------------------------------------
31 Description: Another graphics demo written by groepaz/hitmen.
32 Platforms: The program is currently only running on the C64, but should
33 be portable to the C128 and CBM510 (and maybe more machines).
35 -----------------------------------------------------------------------------
37 Description: A disc copy program written and contributed by Oliver
38 Schmidt, <ol.sc@web.de>. Supports single or dual disc copy.
39 Platforms: The program does depend on conio and dio (direct disk i/o),
40 so it does currently compile for the Atari and Apple ][
43 -----------------------------------------------------------------------------
45 Description: A gunzip utility for 6502 based machines written by Piotr
47 Platforms: Runs on all platforms with file I/O (currently the Atari and
48 most Commodore machines).
50 -----------------------------------------------------------------------------
52 Description: A nice "Hello world" type program that uses the conio
53 console I/O library for output.
54 Platforms: Runs on all platforms that support conio, which means:
55 Apple ][, Atari, C16, C64, C128, CBM510, CBM610, PET, Plus/4
57 -----------------------------------------------------------------------------
59 Description: A mandelbrot demo using integer arithmetic. The demo was
60 written by groepaz/hitmen and converted to cc65 using TGI
61 graphics by Stephan Haubenthal.
62 Platforms: All systems with TGI support. You may have to change the
63 driver/resolution definition in the source.
65 -----------------------------------------------------------------------------
67 Description: Shows how to use the mouse.
68 Platforms: All systems with mouse and conio support:
69 C64, C128, CBM510, Atari, Apple2
71 -----------------------------------------------------------------------------
73 Description: Plays "Eine kleine Nachtmusik" by Wolfgang Amadeus Mozart
74 Platforms: All systems that have the Commodore SID (Sound Interface
76 C64, C128, CBM510, CBM610
78 -----------------------------------------------------------------------------
80 Description: A fancy graphics demo written by groepaz/hitmen.
81 Platforms: The program needs a VIC, or a TED, so it runs on the following
83 C64, C128, CBM510, Plus/4
85 -----------------------------------------------------------------------------
87 Description: Implements the "Sieve of Eratosthenes" as a way to find all
88 prime numbers in a specific number interval. Often used as
90 Platforms: All systems with conio and clock support:
91 Atari, C16, C64, C128, CBM510, CBM610, PET, Plus/4
93 -----------------------------------------------------------------------------
95 Description: Shows some of the graphics capabilities of the "tiny graphics
97 Platforms: Runs on all platforms that have TGI support:
98 Apple ][, C64, C128, Oric Atmos, Geos and Lynx.