Skip to content

petriw/Commodore64Programming

Repository files navigation

Commodore 64 Programming on Windows

TL;TR

This repo contains the source from my Commodore 64 assembly programming tutorial for Windows.

alt text

Introduction

Welcome to the Commodore 64 Programming on Windows tutorial! This tutorial will get you up and running with the tools needed to build C64 programs on windows, and teach you(tm) the basics of 6502 microprocessor programming using assembly. I will show you how to create graphics and how to render them on the screen, how to play music, and the many limitations and considerations needed to develop a proper C64 program. Remember, this is an old machine so you might have to think about things you normally didn't - if you are a graphics developer (DirectX, OpenGL, Unity, Unreal, ...), you might be able to learn why some things are they way they are.

Disclaimer: I'm no expert, use the informations here as you like.

Language: Assembly

Compiler: DASM

OS: Windows (I have tried all this on Windows 10 and Windows. Also Mac OSX users can follow the material as well by downloading DASM via homebrew and running brew install dasm

1 - Setup and your first program!

2 - 6502 Microprocessor Programming Basics

3 - Arithmetic's on the C64

4 - Creating and Rendering Sprites

5 - Clearing the screen

6 - Raster Lines

7 - Creating and Rendering Bitmaps

8 - Text and Custom Charsets

9 - Interrupts and Music

10 - Multiple Interrupts