Joey Hess: saved my atari programs
I got a SIO2PC cable for my atari, hooked it up to a linux box, and used
the atarisio tools to rip a few of my old BASIC disks. Now I can load them
in the atari800 emulator, and will hopefully never lose this early code --
cuz it's in subversion
now.
The first disk I rescued ("finished programs disk 1") has a nice little
menu on it with lots of games and stuff I'd put together.
I've always been proud of the "vidio" game, which is the first game shown
above. It'd give Pong a run for its money in simplicity, and has gameplay I
still enjoy (for up to 5 minutes at a time). You're the green dot, which is
flying from left to right. Each time it reaches the right side of the
screen, it wraps back to the left -- but leaves a blue wall behind. Crash
into the wall and you lose a life. Sometimes other dots appear that you can
pick up to get new lives.
This sounds easy, but it's not, mostly because the Atari joystick (or my
code for reading it) is not very precise, so it's hard to line up to
exactly the right place on the screen to go through a small hole in the
wall.
In contrast to that piece on innovation, the "jump" game is a pretty
generic platformer, jump over the water and shoot the enemy that's crawling
along the ceiling. It's also a bit buggy.
I took a look at the code, but the bug on line 200 isn't very obvious,
whatever it is. This is how everyone's old code looks to them after 20
years ... right?
Update: Some more games I found..
My version of Tetris for the Atari. It looks a lot better on a real TV
tube. Two fun things in writing this were that I couldn't figure out how
to program it to rotate the blocks on the fly -- so I just wrote out data
with every possible rotation for every block. Also, Atari BASIC lacks
arrays, so it uses strings for storing the game state.
(Colors are ok in 1st screenshot, but messed up in second.) Fatso's adventure had the best graphics I did on the Atari. It remapped parts of the the character set and used ATASCII characters as sprites. Ok, it's kind of a Lode Runner clone, but only the kind you write after having seen Lode Runner for 2 minutes. Looks kinda like it, but I don't think Lode Runner had spiders that dropped exploding eggs that broke all the rungs in the ladders..
Update 2: Disk images are nice, but regular files are nicer. I was able to explode files out of the disk images only with difficulty. I ended up using wine to run a windows program called Total Commander. It has a plugin that allows .atr disk images to be unpacked. To view the BASIC files, they have to be detokenized. I found a perl script to do that, that can be used on the fly of anything suspected of being a BASIC program. All the stuff is in my subversion repository.
I've always been proud of the "vidio" game, which is the first game shown
above. It'd give Pong a run for its money in simplicity, and has gameplay I
still enjoy (for up to 5 minutes at a time). You're the green dot, which is
flying from left to right. Each time it reaches the right side of the
screen, it wraps back to the left -- but leaves a blue wall behind. Crash
into the wall and you lose a life. Sometimes other dots appear that you can
pick up to get new lives.
This sounds easy, but it's not, mostly because the Atari joystick (or my
code for reading it) is not very precise, so it's hard to line up to
exactly the right place on the screen to go through a small hole in the
wall.
In contrast to that piece on innovation, the "jump" game is a pretty
generic platformer, jump over the water and shoot the enemy that's crawling
along the ceiling. It's also a bit buggy.
I took a look at the code, but the bug on line 200 isn't very obvious,
whatever it is. This is how everyone's old code looks to them after 20
years ... right?
Update: Some more games I found..
My version of Tetris for the Atari. It looks a lot better on a real TV
tube. Two fun things in writing this were that I couldn't figure out how
to program it to rotate the blocks on the fly -- so I just wrote out data
with every possible rotation for every block. Also, Atari BASIC lacks
arrays, so it uses strings for storing the game state.
(Colors are ok in 1st screenshot, but messed up in second.) Fatso's adventure had the best graphics I did on the Atari. It remapped parts of the the character set and used ATASCII characters as sprites. Ok, it's kind of a Lode Runner clone, but only the kind you write after having seen Lode Runner for 2 minutes. Looks kinda like it, but I don't think Lode Runner had spiders that dropped exploding eggs that broke all the rungs in the ladders..
Update 2: Disk images are nice, but regular files are nicer. I was able to explode files out of the disk images only with difficulty. I ended up using wine to run a windows program called Total Commander. It has a plugin that allows .atr disk images to be unpacked. To view the BASIC files, they have to be detokenized. I found a perl script to do that, that can be used on the fly of anything suspected of being a BASIC program. All the stuff is in my subversion repository.

