cc65/samples
ol.sc 82c312bd72 Updated (and sorted) sample program info.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-10-03 11:28:42 +00:00
..
geos git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81 2008-08-02 22:02:54 +00:00
tutorial git-svn-id: svn://svn.cc65.org/cc65/trunk@3863 b7a2c559-68d2-44c3-8de9-860c34a00d81 2008-08-02 22:02:54 +00:00
Makefile Improved Makefile by Greg King. 2009-09-28 19:22:02 +00:00
README Updated (and sorted) sample program info. 2009-10-03 11:28:42 +00:00
ascii.c Patch from Greg 2003-06-03 11:39:02 +00:00
diodemo.c New diodemo version by Oliver; update of the README file 2005-09-02 19:47:46 +00:00
fire.c Patches from Greg King 2004-06-13 18:28:09 +00:00
gunzip65.c Added new sample gunzip65 from Piotr 2003-10-06 10:54:46 +00:00
hello.c This commit was generated by cvs2svn to compensate for changes in r2, 2000-05-28 13:40:48 +00:00
mandelbrot.c Leveraged tgi_stddrv (like tgidemo). 2009-10-03 11:10:26 +00:00
mousedemo.c Fixed messed up line endings. 2009-10-02 20:15:14 +00:00
nachtm.c Small optimization 2005-11-20 17:26:05 +00:00
plasma.c Support for the Plus/4 by john "graham" selck. 2009-02-11 17:37:18 +00:00
sieve.c Made compatible with the Apple ][ machines, but without timing (like mandelbrot). 2009-10-03 11:17:39 +00:00
tgidemo.c Adjusted error message to recent change. 2009-10-03 11:07:10 +00:00

README

This directory contains sample programs for the cc65 compiler.

Below is a short description for each of the programs together with a list of
the supported platforms.

Please note:

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

  * 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:

-----------------------------------------------------------------------------
Name:           ascii
Description:	Shows the ASCII (or ATASCII, PETSCII) codes of typed
		characters. Written and contributed by Greg King
		<gngking@erols.com>.
Platforms:     	All platforms with conio or stdio (compile time configurable).

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

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

-----------------------------------------------------------------------------
Name:           gunzip65
Description:	A gunzip utility for 6502 based machines written by Piotr
                Fusik <fox@scene.pl>.
Platforms:     	Runs on all platforms with file I/O (currently the Atari, the
                Apple ][ and most Commodore machines).

-----------------------------------------------------------------------------
Name:	        hello
Description:	A nice "Hello world" type program that uses the conio
		console I/O library for output.
Platforms:	Runs on all platforms that support conio, which means:
		Apple ][, Atari, C16, C64, C128, CBM510, CBM610, PET, Plus/4

-----------------------------------------------------------------------------
Name:           mandelbrot
Description:	A mandelbrot demo using integer arithmetic. The demo was
                written by groepaz/hitmen and converted to cc65 using TGI
                graphics by Stephan Haubenthal.
Platforms:	Runs on all platforms that have TGI support:
		Apple ][, C64, C128, Oric Atmos, Geos and Lynx.

-----------------------------------------------------------------------------
Name:           mousedemo
Description:	Shows how to use the mouse.
Platforms:     	All systems with mouse and conio support:
		C64, C128, CBM510, Atari, Apple ][

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

-----------------------------------------------------------------------------
Name:           plasma
Description:	A fancy graphics demo written by groepaz/hitmen.
Platforms:     	The program needs a VIC, or a TED, so it runs on the following
                systems:
		C64, C128, CBM510, Plus/4

-----------------------------------------------------------------------------
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:
		Atari, C16, C64, C128, CBM510, CBM610, PET, Plus/4,
		Apple ][ (without timing due to missing clock support)

-----------------------------------------------------------------------------
Name:           tgidemo
Description:	Shows some of the graphics capabilities of the "tiny graphics
		interface".
Platforms:	Runs on all platforms that have TGI support:
		Apple ][, C64, C128, Oric Atmos, Geos and Lynx.