Fixing XXL's Apple Invaders: a Community Hack Slows the Last Alien

In early February 2026 the AtariAge member Gimmee99 started a thread about hacking XXL's Atari port of Apple Invaders. In his view it is the closest thing the 8-bit Atari has to the arcade Space Invaders. It has the full eleven aliens per row and plays more like the coin-op than Atari's own Space Invaders or Deluxe Invaders. Two flaws spoil it: the aliens and bases are drawn with missing vertical lines, and when only one alien is left it moves far too fast. Snowed in for a week, he set out to fix both by patching the executable.

A tool for the job

Finding the graphics in the file was easiest with Omnivore, the Atari binary editor, which shows the data as bitmaps. To change them he wrote SpriteFix, a small Windows (.NET) program that shows two bytes side by side as a 16-pixel-wide grid. You step through the file eight bytes (one animation cell) at a time, click pixels on or off, and commit each change before moving on. Then you write out a patched copy. With it he removed the gaps from about 80% of the marching-alien frames, the attract-screen aliens, the player's launcher and the mystery ship, and some of the gaps in the shields. Version 1.1 added copy-and-paste and hex offsets, and 1.3 added error checking.

Why the lines are there

Other members explained that the gaps are not damage in the artwork. They come from the Apple II's hi-res screen. There, each byte shows only seven pixels, and the top bit selects a colour "palette" by shifting the signal phase, so the Apple can make six colours where the Atari's single NTSC artefacting scheme gives fewer. On an Atari all eight bits are pixels, so the Apple's palette bits appear as stray stripes. A shape's bit pattern also depends on which column it starts in. DjayBee showed the same alien laid out differently for even and odd starting columns. Simply filling in the gaps distorts the aliens' symmetry, and the code fills in bit 7 as it draws. As thorfdbg put it, a real fix means changing the rendering code, not just the data. Shifting the art instead of filling it might also upset collision detection unless the code changed too.

The last alien

The speed problem had a much simpler answer. XXL himself pointed to one instruction, LDA #$01 at $1846 in memory, and said his daughter had played with the value set to 3. In the file the byte sits at offset $40C7. Changing it slows the final invader to a manageable pace. After asking XXL's permission, Gimmee99 posted a patched binary with about 85% of the lines removed and the slower last alien, together with SpriteFix 1.3.

Side quests

The thread grew a second project. The same editor works on Atari's own Space Invaders cartridge, whose alien characters start at offset 7168 (decimal) in the ROM. Gimmee99 redrew them to look like the arcade aliens and widened the missile base and UFO, which turned out to be player-missile graphics. He suggests running the game at about 80–85% speed in Altirra for a more arcade-like feel. ClausB shared Good Buddy Invaders, his own 1981 hack of the cassette version, in which his housemates' names march down the screen. An attempt to add a firing sound by redirecting a JSR to new code from an AI chatbot only produced screen garbage, which is a reminder that patching an unknown binary still needs real debugging.

Where to get it

The patched Apple Invaders, the Space Invaders hack and SpriteFix (Windows 10 and the .NET 10 runtime) are attached to the AtariAge thread "Hacking the XXL port of Apple Invaders". To make the speed fix yourself, change the byte at file offset $40C7 from $01 to $03 in a copy of XXL's .xex.

Credits