@8_Bit
  @8_Bit
8-Bit Show And Tell | Sprite Expand Bug in Defender for C64 by AtariSoft @8_Bit | Uploaded September 2024 | Updated October 2024, 8 hours ago.
The official Defender game cartridge for the Commodore 64 by AtariSoft from 1983, by Joe Simko, has an amusing super-sized bug. If you hit the Restore key just as your ship's explosion reaches its peak, when you play your next life, your ship, the alien enemies, and the humans you're Defending are all jumbo-sized. This is due to a minor initialization bug in the original 6502 code. After a BASIC demonstration of the VIC-II's sprite expansion capabilities, we discuss the CRT image emulator format and how we can examine it on a real C64, and then use the Super Snapshot machine language monitor to track down the cause of the bug and fix it. Then we use the venerable LOAD ADDRESS program from the 1541 Test/Demo Diskette to fix our fix, flash it on an Easy Flash 3 cartridge, and give it a play test. We also take a quick look at another Defender bug just discovered, which should be the subject of a future video.

To support 8-Bit Show And Tell:
Become a patron: patreon.com/8BitShowAndTell
One-time donation: paypal.me/8BitShowAndTell
2nd channel: youtube.com/channel/UCAgWzEh5c8391eJnELDy9OA

Links:
The 1541 Test/Demo Diskette:
https://commodore.software/downloads/download/152-1541-floppy-drive/1151-1541-test-demo-disk-1-85

The CRT file format:
ist.uwaterloo.ca/~schepers/formats/CRT.TXT

Index:
0:00 Defender by AtariSoft
3:30 Here's how to trigger the bug
5:50 Expanded sprites in C64 BASIC
11:07 About the Defender CRT image
16:15 A better way to load the image
19:02 Disassembling the 6502 code
23:53 Patching the code
25:45 Fixing the load address
28:33 Flashing, testing the fix
30:35 I noticed another bug!
33:52 Thanks to Steve, Patrons, and You
Sprite Expand Bug in Defender for C64 by AtariSoftVTech PreComputer 1000: BASIC, Typing, Quiz Games - Just a Toy?Exploring 1982s Commodore MAX Machine: Commodore 64s Little BrotherEpyx 1984 Preview Disk -or- What Is A Chromadisk?Exploring Marz: C-64 6510 Assembly Minigame Code WalkthroughRunning a Local Retro Computer Club? What Were DoingEstimating Pi With Commodore 64 Logo (the language, not the chicken lips!)Mechanical Handheld Zero-Bit Games from the 1970sCommodore PC 50-II: IBM PC-Compatible8-Bit Book Club: Tool Kit: BASIC and Kernal by COMPUTE! for Commodore 64 and VIC-20How Many Commodore 1581 Disk Drives? The German Tank ProblemNeutron - New Commodore 64 SHMUP on NTSC C128D

Sprite Expand Bug in Defender for C64 by AtariSoft @8_Bit

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER