COMMODORE 64

8-bit creativity with real hardware limits

From PRINT to complete games. Tier 1 available now (16 lessons).

CPU
MOS 6510
Speed
1 MHz
RAM
64 KB
Released
1982

Learning Paths

πŸ“˜ C64 BASIC V2

Start with BASIC β€” the language built into every Commodore 64. Learn programming fundamentals the way millions did in the 1980s: directly on the machine. Build real, playable games as you go.

Tier 1 complete β€’ Tiers 2-4 in development

  • βœ“ Tier 1: Fundamentals & Structure β€” PRINT, variables, loops, arrays, DATA statements, VIC-II colours/screen memory, PETSCII graphics, SID sound, keyboard input, random numbers, collision detection, timing. Build Star Catcher and Crystal Caverns (16 lessons)
  • 🚧 Tier 2: Living Worlds & Sprites (multi-room systems, data-driven design, VIC-II sprites, animation, collision, HUD, AI) β€” In development
  • 🚧 Tier 3: Scrolling & Game Logic (camera systems, smooth scrolling, 2-axis physics, projectiles, power-ups, persistence) β€” Coming soon
  • 🚧 Tier 4: Polish & Performance (libraries, menus, cutscenes, debugging, optimization, machine-code bridges, performance analysis) β€” Coming soon
  • β†’ 16 lessons available now β€’ 2 complete games built β€’ More coming soon!
Start Learning BASIC β†’

βš™οΈ 6502 Assembly

Master 6502 assembly through 8 progressive phases and 12 complete game genres. From CPU fundamentals to commercial-quality games, demoscene effects, and modern hardware (MEGA65, SuperCPU). 1024 lessons total.

Coming soon: Phase 1 begins with foundations and text adventures

In Development

What You'll Learn

VIC-II Graphics

Master the VIC-II chip: sprites, character graphics, smooth scrolling, and raster interrupts for amazing visual effects.

SID Chip Music

Program the legendary SID chip to create music and sound effects. Three voices, filters, and that classic C64 sound.

6502 Assembly

Learn the 6502 instruction set that powered a generation. From basic operations to advanced techniques.

Modern Toolchain

Docker-based development environment with ACME assembler, VICE emulator, and all tools pre-configured. One command gets you coding on any platform.

Retro Game Design Thinking

Learn how creative constraints shaped game design in the 1980s β€” when every byte counted and innovation was born from limitation.

Professional Development Environment

We've built a complete Docker-based toolchain that gives you everything you need to develop for the C64 on macOS, Linux, or Windows. No more hunting for tools or configuring emulators!

This setup mirrors the original developer workflow β€” fast build, instant test β€” but without the waiting for tapes to load. It’s the best of both worlds: authentic and modern.

🐳 Docker Container

Pre-built container with ACME cross-assembler, VICE C64 emulator (x64sc), and all dependencies. Pull the image and start coding in seconds.

βš™οΈ Complete Toolchain

ACME assembler for building your code, VICE for testing on a cycle-accurate C64 emulator, and utilities for creating .PRG files ready to run.

πŸ“¦ GitHub Container Registry

Available at ghcr.io/code198x/commodore-64 - versioned, tested, and ready to use. No manual installation or configuration required.

πŸš€ One-Command Build

Write assembly, run make build-prg, and your game launches in the emulator. Fast iteration, zero friction.

# Quick start - build in Docker, run VICE on your host:
$ docker run --rm -v $(pwd):/workspace ghcr.io/code198x/commodore-64:v1.0.0 \
acme -f cbm -o mygame.prg mygame.asm
$ x64sc mygame.prg
# Or use Docker Compose for persistent development:
$ docker-compose up -d && docker-compose exec c64-dev bash

C64 Memory Map Preview

Every byte has a purpose β€” and learning where things live is half the fun.

$0000-$00FF Zero Page - Fast access RAM
$0400-$07FF Screen Memory (1K)
$D000-$D3FF VIC-II Graphics Chip
$D400-$D7FF SID Sound Chip
$D800-$DBFF Color RAM
$E000-$FFFF KERNAL ROM

Ready to Code Like It's 1982?

Grab your virtual joystick and start programming like it’s 1982. You’ll rediscover how fun coding can be β€” no frameworks, no APIs, just you, the machine, and pure creativity.

Start Coding β†’ View on GitHub