2003-02-16 14:43:00 +00:00
|
|
|
|
2001-10-09 09:34:21 +00:00
|
|
|
This directory contains sample programs for the cc65 compiler.
|
2001-09-26 13:27:35 +00:00
|
|
|
|
|
|
|
Below is a short description for each of the programs together with a list of
|
2001-10-09 09:34:21 +00:00
|
|
|
the supported platforms.
|
2001-09-26 13:27:35 +00:00
|
|
|
|
2001-10-09 09:34:21 +00:00
|
|
|
Please note:
|
2001-09-26 13:27:35 +00:00
|
|
|
|
2009-01-25 21:22:23 +00:00
|
|
|
* The supplied makefile needs GNU make. It works out of the box on Linux
|
|
|
|
and similar systems. If you're using Windows, you will have to compile
|
|
|
|
the programs manually.
|
2001-09-26 13:27:35 +00:00
|
|
|
|
|
|
|
* The makefile specifies the C64 as the default target platform, because all
|
|
|
|
of the programs run on this platform. When compiling for another platform,
|
|
|
|
you will have to change the line that specifies the target system at the
|
|
|
|
top of the makefile.
|
|
|
|
|
|
|
|
|
|
|
|
List of supplied sample programs:
|
|
|
|
|
2003-02-16 14:43:00 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: ascii
|
|
|
|
Description: Shows the ASCII (or ATASCII, PETSCII) codes of typed
|
2003-10-06 10:54:46 +00:00
|
|
|
characters. Written and contributed by Greg King
|
2003-02-16 14:43:00 +00:00
|
|
|
<gngking@erols.com>.
|
2009-10-03 11:28:42 +00:00
|
|
|
Platforms: All platforms with conio or stdio (compile time configurable).
|
2002-12-06 02:18:37 +00:00
|
|
|
|
2005-09-02 19:47:46 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: diodemo
|
|
|
|
Description: A disc copy program written and contributed by Oliver
|
|
|
|
Schmidt, <ol.sc@web.de>. Supports single or dual disc copy.
|
|
|
|
Platforms: The program does depend on conio and dio (direct disk i/o),
|
|
|
|
so it does currently compile for the Atari and Apple ][
|
|
|
|
machines.
|
|
|
|
|
2009-10-03 11:28:42 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: fire
|
|
|
|
Description: Another graphics demo written by groepaz/hitmen.
|
|
|
|
Platforms: The program is currently only running on the C64, but should
|
|
|
|
be portable to the C128 and CBM510 (and maybe more machines).
|
|
|
|
|
2003-10-06 10:54:46 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: gunzip65
|
|
|
|
Description: A gunzip utility for 6502 based machines written by Piotr
|
|
|
|
Fusik <fox@scene.pl>.
|
2009-10-03 11:28:42 +00:00
|
|
|
Platforms: Runs on all platforms with file I/O (currently the Atari, the
|
|
|
|
Apple ][ and most Commodore machines).
|
2003-10-06 10:54:46 +00:00
|
|
|
|
2001-10-09 09:34:21 +00:00
|
|
|
-----------------------------------------------------------------------------
|
2001-09-26 13:27:35 +00:00
|
|
|
Name: hello
|
2001-10-26 13:48:35 +00:00
|
|
|
Description: A nice "Hello world" type program that uses the conio
|
2001-09-26 13:27:35 +00:00
|
|
|
console I/O library for output.
|
|
|
|
Platforms: Runs on all platforms that support conio, which means:
|
2002-12-06 02:18:37 +00:00
|
|
|
Apple ][, Atari, C16, C64, C128, CBM510, CBM610, PET, Plus/4
|
2001-09-26 13:27:35 +00:00
|
|
|
|
2004-10-08 20:10:58 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: mandelbrot
|
2004-11-07 12:54:30 +00:00
|
|
|
Description: A mandelbrot demo using integer arithmetic. The demo was
|
|
|
|
written by groepaz/hitmen and converted to cc65 using TGI
|
2004-10-08 20:10:58 +00:00
|
|
|
graphics by Stephan Haubenthal.
|
2009-10-03 11:28:42 +00:00
|
|
|
Platforms: Runs on all platforms that have TGI support:
|
|
|
|
Apple ][, C64, C128, Oric Atmos, Geos and Lynx.
|
2004-10-08 20:10:58 +00:00
|
|
|
|
2001-10-09 09:34:21 +00:00
|
|
|
-----------------------------------------------------------------------------
|
2001-09-26 13:27:35 +00:00
|
|
|
Name: mousedemo
|
|
|
|
Description: Shows how to use the mouse.
|
2004-11-07 12:54:30 +00:00
|
|
|
Platforms: All systems with mouse and conio support:
|
2009-10-03 11:28:42 +00:00
|
|
|
C64, C128, CBM510, Atari, Apple ][
|
2002-12-06 02:18:37 +00:00
|
|
|
|
2001-10-09 09:34:21 +00:00
|
|
|
-----------------------------------------------------------------------------
|
2001-09-26 13:27:35 +00:00
|
|
|
Name: nachtm
|
|
|
|
Description: Plays "Eine kleine Nachtmusik" by Wolfgang Amadeus Mozart
|
|
|
|
Platforms: All systems that have the Commodore SID (Sound Interface
|
|
|
|
Device):
|
|
|
|
C64, C128, CBM510, CBM610
|
|
|
|
|
2012-07-03 19:55:03 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: overlaydemo
|
|
|
|
Description: Shows how to load overlay files from disk. Written and
|
|
|
|
contributed by Oliver Schmidt, <ol.sc@web.de>.
|
|
|
|
Platforms: All systems with an overlay linker config (currently the C64,
|
|
|
|
the Atari and the Apple ][).
|
|
|
|
|
2001-10-09 09:34:21 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: plasma
|
|
|
|
Description: A fancy graphics demo written by groepaz/hitmen.
|
2009-02-11 17:37:18 +00:00
|
|
|
Platforms: The program needs a VIC, or a TED, so it runs on the following
|
|
|
|
systems:
|
|
|
|
C64, C128, CBM510, Plus/4
|
2001-10-09 09:34:21 +00:00
|
|
|
|
|
|
|
-----------------------------------------------------------------------------
|
2001-09-26 13:27:35 +00:00
|
|
|
Name: sieve
|
|
|
|
Description: Implements the "Sieve of Eratosthenes" as a way to find all
|
|
|
|
prime numbers in a specific number interval. Often used as
|
|
|
|
a benchmark program.
|
|
|
|
Platforms: All systems with conio and clock support:
|
2009-10-03 11:28:42 +00:00
|
|
|
Atari, C16, C64, C128, CBM510, CBM610, PET, Plus/4,
|
|
|
|
Apple ][ (without timing due to missing clock support)
|
2009-02-11 17:37:18 +00:00
|
|
|
|
2002-10-03 17:36:18 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
Name: tgidemo
|
|
|
|
Description: Shows some of the graphics capabilities of the "tiny graphics
|
|
|
|
interface".
|
|
|
|
Platforms: Runs on all platforms that have TGI support:
|
2005-09-02 19:47:46 +00:00
|
|
|
Apple ][, C64, C128, Oric Atmos, Geos and Lynx.
|
2001-10-09 09:34:21 +00:00
|
|
|
|