My Computer History - 1987 - Commodore 128
My first computer was a Commodore 128 which the whole family shared. It came with an external 5.25” floppy drive. The “128” refers to the 128KB of RAM it contained. Most of my friends had a Commodore 64 so we had a technically better machine. However, we ran it almost exclusively in 64 compatibility mode.
The vast majority of the software we ran were games my brother and I would play. My friend Jackie would get copies of all the coolest games and bring them over for us. Most games were copy protected but Jackie had connections and could get copies of “cracked” games. I still don’t know how all of that really worked but, thanks Jackie!
We had a few store bought games but most of them were copies. I honestly can’t remember what most of the games were but I do remember a fighting game called Barbarian. It had this one move where one guy would spin around the cut the head off his opponent. Then a little troll would come along and kick the head off screen. We thought that was extremely hilarious.
I also remember my brother playing EA’s Summer Games and Winter Games a lot. We also played a lot of Test Drive which is a franchise still active today. There were a few text-based adventure games but I never had the patience to learn how to play them properly.
The computer served some productive functions as well. During my senior year of high school I took a BASIC programming class which was a fun diversion for me. It was taught by the head football coach although I don’t remember that much actual instruction. We were mainly left to to our own devices.
The first program we wrote in class was a simple coin flipping simulation. You would type in the command coinflip and the computer would randomly display either “Head” or “Tails”. Things got more interesting as the semester went on. My biggest achievement was a little program where the user types a question at the prompt. It could be any question as long as the first word was “Who”, “What”, “Where”, “When”, “Why”, or “How”. The program would look at the first word and display a randomly chosen response appropriate for the first word of the question. It took me a whole afternoon to write and it kept me entertained for the rest of the day. The big achievement wasn’t necessarily in the program’s logic but in how it was structured.
Back in these days BASIC programs were very unstructured. BASIC didn’t have a construct like a sub-routine or function. At least none that I was aware of. The path of execution though a program was controlled by GOTO statements. In any program of a non-trivial size the string of GOTO statements would become so complex it was referred to as “spaghetti” code.
I wanted to make debugging simpler for myself so I spaced out my code in little chunks. Each chunk would perform a single function and would have one entry point and one exit point. The exit point would always return execution to a “main” chunk which controlled which other chunks of code were GOTOed. At the time I had no idea what a function was in languages like Pascal or C but that is what I was trying to simulate in my BASIC program instinctually. Yay for me.
I specifically remember sitting next to a couple of guys I considered my programming partners although I doubt they will have remembered me. One guy wrote a program which would generate random three-word phrases consisting an adjective, adverb, and noun. Most of the phrases didn’t make any sense but every once in a while the program would produce one so funny they’d giggle over it like crazy.
