Adventures in Internet Publishing
Monday, October 27, 2008
  PEEKing and POKEing


My fiancee gave me one of these, and I've been playing with it a little. At first it was dead, and it wasn't the batteries; luckily, I was able to wake it up by reseating what I presume to be the RAM card.

It's older than me, and at first I thought a bit about the engineering: how come older technology, which is supposed to be bigger and clunkier, can be engineered into a form factor smaller than what we're fumbling around with these days? Quickly enough I remembered that today's handhelds have a much bigger screen, wireless radios, cameras, rechargeable batteries, and whatnot. This little PC-3 has a 1x24 character cell display and what may or may not be a serial port. If I'm lucky, the CPU has about the same power as the Intel 4004 (though twice the bits).

It has a BASIC interpreter, and it saves code as an unbroken series of commands. You can save multiple programs, though each program must have unique line numbers. It's interesting to get into the head of '80's tech-savvy financial workers - hack together some spaghetti code to speed up your calculations. You can map your own functions to the bottom keys on the keyboard, and the thing came with two overlays so you can keep track of what's what.

It has a port on the side to hook it into a printer and tape drive, so you can save your programs. Too bad I don't have one, if I try to write anything complex it'll be gone when I have to change the batteries. If it's a serial port it should be possible to hack together an interface for it, though that's somewhat outside of my abilities right now. On the other hand it'd be marginally easier than building a serial interface for the Nintendo DS.

I did however manage to write a little program using the information here. Makes a little man march across the screen, with very poor redraws. Proves that I can use it for more than just calculations, though. One of these days I'll have a full-blown text adventure engine running on it :D
 
Wednesday, October 08, 2008
  Living in Rhythm with Python
So I've started working with Python seriously again. I'm calling it an extension of my studies in computational linguistics, since that requires some programming effort, and I need to keep my skills up.

The best thing so far is that Python seems to take far fewer mental resources than C. I'm not totally sure why, but the object model and simplified syntax probably have something to do with it.

I'm thinking of writing a text adventure engine, to pursue one of my story ideas. The code practically writes itself - Python is set up for text processing. Basically, I'd be setting up a few objects and then just writing up the rooms and items.

I have to wonder what the market is like for text adventures, though.
 

Name:
Location: San Diego, California, United States

I program old computers and calculators in my spare time.

Archives
January 2006 / March 2006 / May 2006 / October 2006 / November 2006 / December 2006 / March 2007 / May 2007 / July 2007 / August 2007 / September 2007 / November 2007 / January 2008 / March 2008 / April 2008 / May 2008 / June 2008 / August 2008 / September 2008 / October 2008 / March 2009 / October 2010 / November 2010 / January 2011 / February 2011 /


Powered by Blogger

Subscribe to
Posts [Atom]