kfox / sierpinski-c64

Sierpinski triangles on the Commodore 64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sierpinski-c64

A simple approach to creating Sierpinski Triangles on the Commodore 64, written in C and cross-compiled to 6502 assembly using cc65.

sierpinski triangle

Running

Copy the disk image file to a floppy disk or open it with your favorite emulator, such as VICE.

On the Commodore 64, type the following. (Note that an emulator such as VICE might do this for you automatically.)

LOAD"*",8,1

Compiling

Install development tools appropriate for your platform, including GNU Make.

You'll need to install cc65 and VICE. On macOS using Homebrew:

brew install cc65 vice

Compile the code.

make

About

Sierpinski triangles on the Commodore 64

License:MIT License


Languages

Language:C 57.8%Language:Makefile 42.2%