Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 760 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 760 Bytes

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