Oldskooler Ramblings

the unlikely child born of the home computer wars

Patience

Posted by Trixter on May 24, 2006

I never said I was a patient man. As a young teen, I would cheat on book reports by reading the Cliff notes or watching the movie. I would rush to the 7-eleven directly after school on Fridays to grab the latest comic books (this is before all the comic shops standardized on Wednesdays, obviously). I loaded COMMAND.COM into a RAMDISK so I wouldn’t have to keep replacing the floppy boot disk after I ran large programs. That sort of thing. Well, I squeaked through high school. I eventually gave up reading and collecting comics. I got a hard drive in 1990 and stopped booting off of floppies. A lot of my issues corrected themselves as I got older.

Except Hack.

In January of 1985, the very first game I played on the family 8088 was Hack. It was given to me by a friend of my brother’s, and it was yet another life-defining moment; the good kind, where it shapes you positively while you’re not paying attention. Being the first PC game I had access to (my prior pirating experience was Apple II), I was determined to give it a shot. Ironically, getting Hack up and running involved some hacking in and of itself: You had to alter config.sys to add ansi.sys; you had to alter hack.cnf to define how many drives you had, or a hard disk; you had to learn several bizarre movement keys like K for up, J for down, and other stuff that didn’t make any sense. It almost wasn’t worth the trouble for a young PC user.

Once fired up, Hack treated me to a complex dungeon where almost anything could happen: Shoot a bolt of fire, have it bounce off a wall, and ricochet back to hit you and catch your scrolls on fire; or kill an animal that turns people to stone, put on some gloves, and then use the dead carcass to turn enemy monsters into stone; etc. It was complex, it was deep, and it was wonderful.

It was also harder than a motherfucker. Hack, and its descendant Nethack, are some of the less forgiving members of the Roguelike family. It was relatively easy to go from king of the world to king of the dead in as little as a three moves. Every new machine I bought or built would get Hack installed as a nice little “initiation”, and every time I wouldn’t finish. I’d fire it up a few months later, 5 or 10 times a year, still wouldn’t finish. I’d cheat terribly, even finally finding the Amulet of Yendor, and the game would catch me cheating and write “You escaped with a CHEAP PLASTIC IMITATION of the Amulet” to the high score file. The screams of frustration were audible for several city blocks.

I got better. I found all sorts of things totally by accident. Eat a floating eye and you get sick, but if something later blinds you (like a flash of yellow light, or a potion of blindness), you can suddenly see ALL of the monsters in the level. Get drunk and read a teleportation scroll, and instead of teleporting somewhere else in the level, you teleport to a different level entirely. The more I played, the more I discovered. (I also discovered later in life that hack had prepared me for Unix administration, since the movement and option setting keys are identical to the “VI” file editor.) Yet I still didn’t finish.

Two weeks ago, I decided to play Hack on my 8088. I had forgotten how slow it played; the more monsters that were roaming the level you were on, the slower it took to respond. And it was then that I realized I could use that artifact of processing speed to my advantage. Most of the time that I had died, it was through some incredibly stupid event, like a dragon turning the corner and frying me with a bolt of fire, or not knowing that an umber hulk was in the same darkened room as I was, making me confused. When a level went from fast response to slow, it meant that a large amount of monsters had suddenly materialized. I would immediately check myself and carefully consider each decision. With this newfound realization, I played with hyperfocusing intensity over the course of several days.

Today, twenty-one years after I first got Hack working on my 8088, we come full circle, back to the 8088, to what I think are the two most lovely text screens I have ever seen on any CGA monitor:

hack1

hack2

I never said I was a patient man… but I guess I am :-)

Update, 1/7/2012:  I just today learned that Donnie Russell’s excellent Windows port of Hack has now been ported to Flash and can run in any browser that supports it.  It supports saving as well as some cute sound effects.

Posted in Gaming, Vintage Computing | 5 Comments »

The Zen of Programming

Posted by Trixter on April 24, 2006

I ran across this quote from Peter Jennings (the programmer, not the newscaster) and thought it was worth republishing. It almost completely expresses my love for coding:

I love programming. It is almost impossible to explain the joy of writing software to someone who has not experienced it.

First and foremost, it is an act of creation. From a simple thought, and the arrangement of a few words and symbols, a reality is created that did not exist before.

No other activity can keep you in the moment the way that writing software can. At each step, one hundred percent of your concentration is applied to the solving of the current problem. Time disappears.

A well written program is a work of art. From conception to final presentation, the activity is that of an artist – the embodiment of a dream world expressed as an interactive experience for the user.

Peter was the author of the first commercial computer game, MicroChess, for the KIM-1 (yes, I'd never heard of it either until today). It's a chess program that runs in 1K of ram (variables and code).

Posted in Programming | 3 Comments »

Week #14: Scales and Canals

Posted by Trixter on April 3, 2006

The bodyfat measuring scale broke.  And this month, so are we, so that means no measurements for a month.  Which is just as well, because I've completely fallen off the wagon because of my root canal.  Yes, 34, and I've had my first root canal.  And yes, this is somewhat sad.  I had terrible habits as a teenager and young adult, and although I've corrected those habits as of a few years ago, the damage was done and I am now reaping what I have sowed.

I tried running anyway, and it started to throb.  Ow.

Posted in Uncategorized, Weight Loss | 2 Comments »

Calculation

Posted by Trixter on March 29, 2006

I began using Jim Fixx's The Running Program two days ago, and am following the 30-step training program that ends with me running 3 continuous miles every day. This should get me in shape to run a 5K with my wife in about a month; the actual progam takes twice that amount of time, but I feel confident I could at least finish a 5K.

Step 1 two days ago was "Walk 1 to 1.5 miles." No problem. Done.

Step 2 yesterday was "Walk 1 to 1.5 miles." Again, piece of cake.

Step 3 tomorrow is "Walk half a mile. Run 110 yards. Walk. Run 110 yards. Walk. Run 110 yards. Walk. Run 110 yards. Walk." Uh…

Nothing like a computer program to make you feel like an idiot! You see, I don't have a numbered running track to use; I'm just cruising the neighboorhood. The only way I know that I'm walking 1.5 miles is because I measured it previously with my car's trip odometer. So how to do this properly if all I have is a stopwatch? A "comfortable" running pace for me in my current state of health is 5 miles an hour, which is 12 minutes a mile. A mile is 1760 yards, so I can run 1760 yards in 720 seconds, or (1760/720)=(110/X) so, solving for X, it should take me 45 seconds to run 110 yards. So let's substitute and read it again:

"Walk half a mile. Run for 45 seconds. Walk. Run for 45 seconds. Walk. Run for 45 seconds. Walk. Run for 45 seconds. Walk."

That's a little better, but how long/far should I "Walk"? Half a mile is 880 yards; combined with the running segments it is a total distance of 1320 yards. That's not a full mile, so to stretch it out I need to come up with another 440 yards four more times… aha, they must really mean "Run 110 yards, then walk 110 yards. Repeat 3 more times." Now why couldn't they have just written that?

My walking pace is 3 miles an hour, so walking 110 yards (I'll spare you the calculation) would take me 75 seconds. So, I'm all set as long as I have a stopwatch. Now, where's that stopwatch…!

All this from a program that was supposed to be making running easier.

(All kidding aside, it really is a great program.)

Posted in Weight Loss | Leave a Comment »

Week #13 incognito

Posted by Trixter on March 29, 2006

There will be no week #13 stats as I am almost positive that I have self-destructed to the point of gaining weight for the first time this year. At least, I think I've gained weight, but every time I think that I end up losing half a percentage point of body fat or something. The switch away from regular pop must have really been the most significant thing I've ever done, since I'm not even trying and I'm still living at or below my body's energy needs.  And what are those needs?  According to The Running Program, my height and weight requires almost 3000 calories to break even every day.  Good gravy, 3000?  No wonder I'm floating downward:  I cut out 5 cans of pop a day, so there's 750 calories right there.

Posted in Weight Loss | 2 Comments »

Jim Fixx Irony Clarified

Posted by Trixter on March 20, 2006

For years I used to quote Dennis Leary’s routine where he said he would continue to smoke because it didn’t matter how you treated your body because you’d end up like Jim Fixx. As I wrote eariler, Jim Fixx was an avid running enthusiast who suddenly dropped dead while running in his early 50’s. I, too, found this incredibly funny and used his situation as a reason to not run, along with other scary running stories (such as a girl who was so addicted to the endorphin “high” you get while running that she ignored the pain of her shin splints and caused permanent damage, etc.).

Lo and behold, some basic research turns up Jim Fixx’s autopsy, which indicates that he neglected his cholesterol which caused 95% blockage of one artery, 85% of another, and 50% of a third, eventually causing a massive heart attack. So it wasn’t really running that killed him; it was the lack of importance he put on regular cholesterol checkup and maintenance, coupled with a poor family history (a heart attack killed his father at age 42).

So, if anything, Fixx’s running history probably extended his life a few years.

Posted in Weight Loss | 4 Comments »

Week #12

Posted by Trixter on March 20, 2006

Didn’t make an effort, and no surprise, no significant movement:

  • 220 pounds
  • 27.5% body fat
  • Blood pressure 137/78

Even though I haven’t lost any significant weight in the last month, I am still pleased with my results — I have obviously made enough significant changes to my lifestyle that I am now living within my body’s means. I drink diet pop (which is tolerable, but I’ll never truly enjoy it), so that’s 750 calories a day less, which must have been a significant portion of my old lifestyle…  I also actively choose vegetables over other side dishes, and Melissa has been great about making chicken w/ vegetables a lot for dinner which is also helping.

So, I’m not in danger of gaining weight for the rest of my life… now I just need to get down to where I want to be.

Posted in Weight Loss | Leave a Comment »

The Running Program

Posted by Trixter on March 13, 2006

The Running Program - Title Screen

As promised, The Running Program has been cracked and made available. I can’t take credit for the crack; my good friend Demonlord took the program and what little progress I’ve made and did a proper INT 13 redirect crack for it. (Check the file NOTE.TXT for info, and PROTECT for the “secret data” that the program was protected with.)

Demonlord, for those not familiar with his work, is the hardest-working oldskool cracker still at it today. Nowadays we have windows executables with symbol information still linked to them — this is child’s play.  Way back when, we had 512-byte boot loaders that we had to disassemble by hand. Demonlord still does this, and is the best cracker I know both two decades ago and today. He’s so good that most cracks take him less than an hour, and unlike most hack jobs, they’re quite elegant and graceful. For example, check The Running Program: His crack never even touched the .exe — instead it loads an INT 13 handler that intercepts the request and redirects it to the data saved off of the protected track.

You know how there’s one person responsible for about 95% of all the ATARI 2600 cartridge ROM dumps out there? Demonlord is responsible for cracking 95% of all the bootable PC diskette images out there. The next time you play a bootable PC game in an emulator, say a little howdy for Demonlord.

Posted in Software Piracy, Vintage Computing, Weight Loss | 2 Comments »

Week #11

Posted by Trixter on March 12, 2006

Still self-destructive, still under a lot of pressure, and yet:

  • 220 pounds
  • 28% body fat
  • Blood Pressure 134/80

So now I don’t know if it’s the stress or the switch to diet pop that made me trickle downwards. Not complaining, I guess.

Since I love to goof off with my IBM PC/XT, and since I want to start running again, I won an auction for MECA’s 1984 software “The Running Program”. The Running Program was based on Jim Fixx’s The Complete Book Of Running from 1978, and it contains stretching exercises, evaulates your fitness level, records and graphs achievements, etc. It’s also fairly well copy-protected; every single track is goofy, and the program requires information loaded from one of the goofy sectors. Not difficult, but time-consuming.

When I finally get it cracked, I’ll make it available. Jim Fixx is dead, MECA is long gone, and I have little scruples when it comes to 22-year-old software.

Posted in Software Piracy, Vintage Computing, Weight Loss | 1 Comment »

Week #10

Posted by Trixter on March 5, 2006

Stressed and self-destructive. And yet I lost a pound:

  • 221 pounds
  • 29% body fat
  • Blood Pressure 138/80

Oi. Things aren’t going to get any better for me until I finish something for MobyGames that I’ve been putting off.

Posted in Weight Loss | Leave a Comment »