📄 readme
字号:
This directory contains sample programs for the cc65 compiler.Below is a short description for each of the programs together with a list ofthe 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: asciiDescription: 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: fireDescription: 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: gunzip65Description: 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 and most Commodore machines).-----------------------------------------------------------------------------Name: helloDescription: 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: mousedemoDescription: Shows how to use the mouse.Platforms: All systems with mouse and conio support: Atari (untested), C64, C128 and CBM510-----------------------------------------------------------------------------Name: nachtmDescription: Plays "Eine kleine Nachtmusik" by Wolfgang Amadeus MozartPlatforms: All systems that have the Commodore SID (Sound Interface Device): C64, C128, CBM510, CBM610-----------------------------------------------------------------------------Name: plasmaDescription: 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: sieveDescription: 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: tgidemoDescription: Shows some of the graphics capabilities of the "tiny graphics interface".Platforms: Runs on all platforms that have TGI support: C64
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -