1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/samples
cuz 0740be0f73 Use static locals (again)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1051 b7a2c559-68d2-44c3-8de9-860c34a00d81
2001-10-13 15:46:03 +00:00
..
geos File no longer needed 2000-07-30 09:24:28 +00:00
.cvsignore Added the plasma sample 2001-09-26 17:55:09 +00:00
hello.c
Makefile Added the plasma sample 2001-09-26 17:55:09 +00:00
mousedemo.c CBM510 update 2001-09-20 14:08:24 +00:00
nachtm.c Added CBM510 support 2001-09-14 16:39:48 +00:00
plasma.c Added the plasma sample to the README file. 2001-10-09 09:34:21 +00:00
README Added the plasma sample to the README file. 2001-10-09 09:34:21 +00:00
sieve.c Use static locals (again) 2001-10-13 15:46:03 +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:	        hello
Description:	A fancy "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, 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 but has not been ported to / tested
		on the C128, so it does currently run on the CBM510 and C64.

-----------------------------------------------------------------------------
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, C64, C128, CBM510, CBM610, PET, Plus/4