Wow, they all seem to be fully commented too! I remember when I first found out about the Atari homebrew scene for the 2600... I was so excited by the idea you could make your own game the first console I ever experienced as a kid. It made me learn 6502 assembler and discover the insane world of Atari development. "Racing the beam" still blows my mind.
I did kind of follow through and made "sort of a game" for it: https://github.com/mrspeaker/plops Though it lacks polish, it does have a theme tune!
Comments in games varied a lot. The coin-op folks did pretty well, and most of the systems code for the computers was well commented.
Lots of game cartridges had very few comments. While this was in an era where comments would slow down your turnaround time, I think much of it was the fast development pace and the fact that once a game had shipped, it was done. It was in ROM, real mask ROMs that were not patchable, and no one would ever be going back to that code again.
Variable names likely had to be uppercase, and there likely was a limit on variable name length (either hard or of the “you can use lowercase/more than eight, but we will ignore case/all but the first eight” variety).
Depended on the assembler. Some let you have 8 characters, internally uppercased and silently truncated. Others let you have 16 chars, others were effectively unlimited.
I wrote a bunch of assemblers, each one better than the last, ending in the one that Atari used for Atari ST, 7800 and Jaguar development. It's the assembler included in the 7800 tools archive. Someone cleaned it up a bunch and put it on github a few years ago.
Folks like yourself are one of the big draws of HN for me. It's awesome to hear the perspective of people who created aspects of the things I was in awe at growing up (in this case I'm thinking of the Jaguar).
It kind of sickens me that we only have this because some smart person dumpster dived behind the building of a bankrupt game company...
Who threw this stuff out?!
How much other irreplaceable source code has been lost because some janitor threw out some boxes of "old floppy disks" or whatever when everything was getting cleaned out...
9 comments
[ 2.7 ms ] story [ 22.0 ms ] threadI did kind of follow through and made "sort of a game" for it: https://github.com/mrspeaker/plops Though it lacks polish, it does have a theme tune!
Lots of game cartridges had very few comments. While this was in an era where comments would slow down your turnaround time, I think much of it was the fast development pace and the fact that once a game had shipped, it was done. It was in ROM, real mask ROMs that were not patchable, and no one would ever be going back to that code again.
Didn't see a lot of things like 'DETHWISH', 'FLEE', 'ROCKDETH', or 'VICTIMX' writing FPGA SW.
I wrote a bunch of assemblers, each one better than the last, ending in the one that Atari used for Atari ST, 7800 and Jaguar development. It's the assembler included in the 7800 tools archive. Someone cleaned it up a bunch and put it on github a few years ago.
I wonder what the world's oldest TODO comment is...
Who threw this stuff out?!
How much other irreplaceable source code has been lost because some janitor threw out some boxes of "old floppy disks" or whatever when everything was getting cleaned out...