C64 Assembly Tutorial for Beginners
by OCA / Atlantis
Having fun programming the C64 in assembly — a series of articles for beginners who already have some basic knowledge of assembly and would like to go a bit further. Each round covers a well-scoped topic and ends with a challenge; the next round opens with the answer.
Every round can be read right here on the page, or downloaded as a PDF. Where a round comes with code, the sources are available as a zip.
Part I - Building Blocks
| Round | Topic | Source | |
|---|---|---|---|
| 1 | Indirect Addressing | View / Download (208 KB) | Download .zip (2 KB) |
| 2 | Lookup Table (LUT) | View / Download (274 KB) | Download .zip (2 KB) |
| 3 | Self-Modifying Code (SMC) | View / Download (163 KB) | Download .zip (1 KB) |
| 4 | Precomputed Random Numbers | View / Download (230 KB) | Download .zip (2 KB) |
| 5 | Linear-Feedback Shift Register (LFSR) | View / Download (218 KB) | Download .zip (1 KB) |
| 6 | Flags and branching | View / Download (333 KB) | - |
| 7 | Char by char text scroller | View / Download (218 KB) | Download .zip (1 KB) |
Part II - Hardware Registers
| Round | Topic | Source | |
|---|---|---|---|
| 8 | $D018, $DD00 and $01 | View / Download (447 KB) | Download .zip (4 KB) |
| 9 | The 5 graphics modes | View / Download (408 KB) | Download .zip (12 KB) |
| 10 | Sprites | View / Download (865 KB) | Download .zip (8 KB) |
| 11 | Horizontal Scrollers | View / Download (509 KB) | Download .zip (8 KB) |
Recommended tools
For any Comments or Questions please contact OCA/ATL or the C64.CH-Staff.
The older Assembler tutorial by Cruzer/CML. It stopped at the basics, but the pages are still here.
