• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
Retro Game Coders

Retro Game Coders

Retro computer/console game + dev community

  • About
    • Retro Computer Collection
    • Contact
  • Blog
  • Retro Resources
    • Retro Gaming Timeline
    • Online Retro IDE
    • Retro Pixel Art Editor
    • Dungeon Loom Map Editor
    • 6502 Programmer’s Reference
    • Emulators
      • Acorn Electron
      • Amstrad CPC Emulator
      • Online BBC Micro Emulator
      • Commodore PET Emulator
      • Browser C64 Emulator
      • DOSBox/DOS PC emulator
      • Tandy CoCo/Dragon
    • Best Retro YouTube Channels
    • New Retro Books
    • Raspberry Pi Amiga Emulation
    • MiSTer FPGA Tutorial
    • BMC64 C64 Pi
  • Community
  • News & Reviews
  • Hardware
  • Commodore 64
  • Amiga
  • Atari ST
  • TRSE
  • Retro C Programming
  • Emulation & FPGA

Programming

Home » Programming

Programming the Commodore PET

Introduction to Programming the Commodore PET

History of the Commodore PET and how to approach programming the classic system

Read moreIntroduction to Programming the Commodore PET
c64 sprites

How C64 Sprites Work

How to use sprites in our C64 games, in BASIC, XC-BASIC3, and UGBASIC

Read moreHow C64 Sprites Work
ZX BASIC

Compiled ZX Spectrum BASIC and Z88DK Added to Online Retro IDE

ZX BASIC AKA Boriel BASIC is now available on my retro programming IDE!

Read moreCompiled ZX Spectrum BASIC and Z88DK Added to Online Retro IDE
Classic 3D Maze Game

Creating a Classic 3D Maze Game for the C64 in XC-BASIC 3

XC-BASIC is a cross-compiler for Commodore computers (C64/128, Vic-20, C16/Plus4, and PET), plus the Commander X16. How much faster will it make a 3D maze game?

Read moreCreating a Classic 3D Maze Game for the C64 in XC-BASIC 3
Modulo on the C64

How to Modulo on the C64 and Why You Need It

Modern systems have an extremely useful modulo operator, but in BASIC V2 on the C64 there isn’t one. Here's how we can make our own.

Read moreHow to Modulo on the C64 and Why You Need It
C64 BASIC OPTIMISATION

More C64 BASIC Optimisations

I came across a C64 BASIC game that ran pretty slow, so I challenged myself to see how much I could speed it up.

Read moreMore C64 BASIC Optimisations
C64 Strings

Replacing Parts of Strings in C64 BASIC

More investigation of C64 BASIC string manipulation and data structures

Read moreReplacing Parts of Strings in C64 BASIC
code a chip8 interpreter emulator

CHIP8 and How Emulators Work

Ever wondered how emulators work? And what is the difference between an emulator, a simulator, an interpreter, and a virtual machine?

Read moreCHIP8 and How Emulators Work
Faster PETSCII

Printing PETSCII Faster

How can we display pretty PETSCII art on the C64 as quickly as possible only using BASIC?

Read morePrinting PETSCII Faster
  • Previous
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Interim pages omitted …
  • Page 10
  • Next

Retro Game Coders

Retro computer/console game + dev programming community by Chris Garrett

  • Bluesky
  • Threads
  • Facebook
  • Instagram
  • YouTube
  • Mastodon

Maker Hacks ・ D6Combat・chrisg.com

© Copyright 2026 Chris Garrett

Privacy ﹒ Terms of Service

Return to top