Bad Apple HD

Medium
Cassette
Year
2018
Publisher
JAC! and MotionRide
Type
Demo
Category
Demo (video streaming, cartridge + cassette)
Developer
JAC! (Peter Dell), with Lucy and MotionRide (intro and outro)
Language
6502 assembly
Requirements
Any Atari 400/800/XL/XE with 16K+, The!Cart flash cartridge, Atari cassette recorder (410/1010/XC12) with the audio tape; PAL recommended (NTSC supported)
Bad Apple HD intro frame: large black numerals '1979' surrounded by film titles Alien, Rocky II, Star Trek The Motion Picture and Moonraker

Overview

Bad Apple!! is a black-and-white shadow-animation music video that demosceners have ported to almost every machine imaginable. Bad Apple HD is the Atari 8-bit version by JAC! (Peter Dell), and it took about five years to make. It won the Atari 8-bit demo competition at Silly Venture 2018. JAC! presented it tongue-in-cheek as "this unknown 1979 Atari commercial", and a new intro and outro, made with Lucy and MotionRide in the last six weeks, frame the video as if it had been made when the Atari 400 and 800 were new.

Its appeal is the engineering. It plays the full video at 50 frames per second in a 384 × 232 full-overscan picture on an unexpanded 16K Atari 400, using only stock-style hardware: a ROM/flash cartridge and an ordinary cassette recorder. There is no extra CPU or microcontroller.

How it works

JAC!'s own notes list the key facts:

  • Video from the cartridge. The pictures stream from The!Cart, a large flash cartridge. 177 MB of raw video is reduced to 41 MB with what he calls "unique ANTIC hardware compression".
  • ANTIC does the decompression. The frames aren't stored as raw bitmaps. They rely on ANTIC features such as a dynamic display list, display-list interrupts and inverse-video encoding to cut the data by about 75%. That matters, because, as he pointed out, the 6502 would be too slow to copy full frames at that rate even with unrolled LDA/STA loops.
  • Wide screen. The display uses ANTIC's wide playfield at 48 bytes per line. Player 0 and missile 0, set to double-width pixels, mask the right edge to hide DMA noise, and the left edge is masked to match.
  • Audio from tape. The soundtrack, including real voice, is about 29 MB of uncompressed 16-bit PCM recorded on a standard cassette. It plays from the tape's left audio channel, the one Atari intended for educational programs with narration, while the video streams from the cartridge. Viewers loved seeing the tape drive kept "in the loop" and synced to the graphics.
  • PAL and NTSC. The video runs at 50 fps, with the rate adapted dynamically on NTSC machines. PAL is recommended.

The total running time is 5 minutes 35 seconds.

Reception

Many viewers were tired of yet another Bad Apple port. Even so, it won, mostly on the strength of the technical ideas, the warmth of the intro and outro, and the clear passion behind it. A few viewers felt let down once they learned the video streams from a huge cartridge, while others replied that the ANTIC-based compression and the tape audio were exactly the clever part. One critic questioned whether a port of someone else's animation and music should win a demo competition. JAC! himself said the main part no longer mattered most to him. The intro and outro, and the love that went into them, were what made it an achievement.

Running it today

  • Emulator. The download includes a pre-configured Altirra. On Windows, double-click BadAppleHD.bat and the cartridge and tape are already set up.
  • Real hardware. You need The!Cart flashed with the video image and an Atari cassette recorder with the audio tape. JAC! published a recording from a real Atari 400 with a 410 recorder on NTSC.

Credits