I suspect the world would be better if that percentage were even greater.
Ting-Tong? Pick-Pock? Keeping time on an Atari 2600…
Years ago, I remembered that someone (couldn’t remember who) had invented a clock which looked like a version of the classic video game “Pong”. A few minutes of searching now reveals who that was: Sander Mulder. I thought it was a cool idea, and I was thinking of a project that could get me back into programming the classic Atari 2600 again, so over the last three days, I hacked together my own version:
I did this using the same development environment that I used for my earlier magnum-opus, the Atari 2600 Enigma Machine
The assembler I used was an old version of P65, a 6502 assembler written in perl. It’s a tiny bit clunky, and doesn’t have any macro capability, but it does work. I have made use of the standard macro processor “m4” to make my source code a tiny bit tighter, and use the excellent Atari 2600 emulator Stella (available on Windows, Linux, or Mac OS X) to test and debug my program. The Atari clock fits rather nicely into 2K of ROM space, including a rather verbose splash screen.
I’ll probably write something up explaining why a grown man would work on writing any kind of software for a 30+ year old video game with only 128 bytes of memory, as soon as I can figure out something that doesn’t sound stupid.
Anyway, the clock seems to be working, and in simulation at least has kept rather excellent time (within one minute leaving it overnight) which isn’t bad at all. Once I get it burned into ROM, I’ll try to post the finished code and some pictures of the final clock.
Addendum: Here’s a short video showing the clock in action, filmed in truly crappy style with my iPhone.
httpv://www.youtube.com/watch?v=Q8_PfohAruc
Comments
Comment from Kevin
Time 10/28/2010 at 7:17 pm
This would probably be a better assembler. It’s just like the OSS software Mac 65 macroassembler, but runs under windows.
Comment from David Rowe
Time 10/27/2010 at 4:02 pm
Hi Mark,
I can totally understand why a grown man would work on writing any kind of software for a 30+ year old video game with only 128 bytes of memory!
I think about doing things like this all the time.
Scratching itches like this, no matter how obscure, is a great thing.
Good work 🙂
Cheers,
David