No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Air Defense

This is an incomplete game, inspired by Sabotage that I started work on back in 1984 or 1985. I was able to rescue the source off of one of my old 5.25" floppy disks, and found that I had used a pretty common source code control system of the day: including the version number of the game in the filename.

I found the files GAME, then GAME1 through GAME11. Then there were some versions missing but the versions resumed in GAME18 through GAME21.

The source code was in Mac/65 tokenized format, which was described in an ANALOG magazine that I can't find the reference to at the moment, but was also coded up into a C program that can translate Mac/65 tokenized files into plain text files by AtariAge user ivop.

I used this program to convert the code to text, added the changes one-by- one to the file game.s, and committed each to this git repository.

I found the program ATasm, a cross compiler for Mac/65 code, and was able to test the code. I found that versions 19 through 21 were crashy and/or didn't work, so I put those in a separate branch called broken_dev.

The last version, 18, is the basis of the master branch, which includes the base cannon, firing, collisions, enemy planes, explosions, parachuting boxes, randomly generated terrain, and a score.

There would be lots of stuff to do to make this a complete game and I'm not sure I'll ever do it, but at least it's here.


Air Defense Copyright (c) 1984-2015 Rob McMullen (

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.