1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-31 20:06:11 +00:00
cc65/samples
cuz 158d5a080f Patch from Greg
git-svn-id: svn://svn.cc65.org/cc65/trunk@2191 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-06-03 11:39:02 +00:00
..
geos fixes for GEOS structures, initialized menu/icontabs finally are possible 2003-03-15 22:39:16 +00:00
tutorial Added tutorial files 2002-07-01 19:47:08 +00:00
.cvsignore Add new sample code contributed by Greg King 2003-02-16 14:43:00 +00:00
ascii.c Patch from Greg 2003-06-03 11:39:02 +00:00
fire.c New fire demo. Add tgi drivers to the disk. 2002-11-25 14:20:33 +00:00
hello.c
Makefile Add new sample code contributed by Greg King 2003-02-16 14:43:00 +00:00
mousedemo.c Atari updates 2001-12-10 23:49:42 +00:00
nachtm.c Remove debug code 2002-12-20 21:45:23 +00:00
plasma.c Use register variables 2002-11-25 13:06:08 +00:00
README Add new sample code contributed by Greg King 2003-02-16 14:43:00 +00:00
sieve.c Use static locals (again) 2001-10-13 15:46:03 +00:00
tgidemo.c tgi_init does no longer take params 2003-02-01 21:48:01 +00:00

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 with 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:           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:	        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:           mousedemo
Description:	Shows how to use the mouse.
Platforms:	All systems with mouse and conio support:
		Atari (untested), C64, C128 and CBM510

-----------------------------------------------------------------------------
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, so it runs on the following systems:
		C64, C128, CBM510

-----------------------------------------------------------------------------
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
-----------------------------------------------------------------------------
Name:           tgidemo
Description:	Shows some of the graphics capabilities of the "tiny graphics
		interface".
Platforms:	Runs on all platforms that have TGI support:
		C64