Commodore's Weirdest CPU vs. Space Invaders - Porting a PET game to the 6509
Commodore built the b-series CBM-II as a business machine, and in the process made it one of the most awkward 8-bit computers ever to write a game for. Its 6509 CPU can reach a full megabyte of RAM, but only by switching banks, and that single design decision turns a straightforward PET game port into a running battle with the hardware. In this video I start with the disassembly I did of Space Invaders from the Commodore PET and port the code to run on the CBM-II B-series. I talk about all the challenges the 6509's banked memory put in front of me: addressing across banks, writing to a screen that lives in another bank, surviving interrupts when the CPU can't even find its own handler, calling the KERNAL across the bank boundary, and turning the PET's 1-bit CB2 beeper into SID sound. Links mentioned in the video: How to Disassemble Space Invaders: • Beginner's Guide to Disassembling 6502 Bin... Source code and a d64 on GitHub: https://github.com/commodoreihs/binva... Space Chase by Christian Krenner: https://www.spacechase.de/ Huge thanks to Christian Krenner, who was enormously generous when I was first getting my head around the 6509. The initial bank-switching setup in my port is lifted straight from his game Space Chase.

IBM's Weird GPU From 1987 - IBM 8514/A

Fixing the Apple IIgs required solving a puzzle

My BMC64 in a classic Commodore 64C case

We power up a giant Thyratron tube

This Computer is from a Defunct Supercomputer Company

Remaking BBC test cards to teach you video processing

Part One: Can a Commodore 1541 disk drive be used as a general purpose computer?

Was The Amiga Ahead Of Its Time?

The Hidden Optimizer That Secretly Supercharged Windows

I Can't Believe This C64 Type-in Game Runs This Well

I Waited 33 Years for This Dream Amiga Upgrade… Will It Work?

Amithlon: The Amiga's Last Chance at Survival?

2000s Computer RESCUED from e-waste! IBM ThinkCentre 8178-D2M

Commodore 1801 CRT monitor repair

Deep Dive: Commodore's Fast Serial Bus Protocol Explained

Let's Type Goodbye Charlie from COMPUTE! (1983) - A Tiny C64 Game with a Brilliant Idea

The Future of Home Computing: Radical Changes Ahead?

The hidden logic behind #, @, & and §

Nixies & punched cards! A stunning vintage FM tuner

