2006-02-17

DosBox for the GP2X

Most work in the open-source world is done by developers scratching their own itches. This is another example of that.

As my prior blog posts attest, my current favorite toy is the GP2X handheld. One of the things I want to do with it is to play an old DOS game that I loved seventeen years ago (yikes!), BlockOut. This was a fantastic 3-D variant on the Tetris theme.

I looked into various options: porting one of its clones, running it under the already-ported Bochs emulator, rewriting from scratch... I finally had some success by porting DosBox to the GP2X platform. It's similar to Bochs in that it is a software emulation of the Intel CPU, but it also directly provides the DOS infrastructure, and is designed primarily for DOS games.

Well, it works well enough for me to play BlockOut, so I'm making what I've done so far available for download here. It's definitely for people who like to fiddle, since you really have to rewrite obscure text configuration files for every game you want to play, and you have to creatively map the GP2X buttons to enough keys to make the game playable.

If you've got an old DOS game working on the GP2X using this, please let me know!

PS: The source for the GP2X kernel is still missing in action, although a new version of the binary has been released today. My self-imposed grace period may be expiring soon. UPDATE: It looks like there was a source release today to coincide with the updated kernel. I'm checking it out of the Subversion repository right now to see what we've got.

Tags: , , , , , , ,

2006-02-13

Joining the brrreeeporterati

This post really doesn't mean much of anything, except for its multiple references to the word brrreeeport. It's an experiment on blog tagging and indexing, initiated by Robert Scoble in this post. I figured I'd play along.

Tags:

2006-02-08

Zmodem for GP2X

I've deliberately been keeping quiet about the still-unresolved situation with the GP2X handheld's failure to release their modified source code for the Linux kernel. Call it a grace period.

In the meantime, I've been experimenting with coding for the machine. It's an interesting experience, using cross-compilers to generate programs and communicating with the GP2X over a serial interface. Well, actually, I'm tunneling a serial interface through the USB port, as described here at mindstab.net. The problem with this is that you can't have the USB mass storage interface, where you mount the GP2X as if it were a removable drive, running at the same time as the USB gadget interface that lets you log into the system. So, when developing, I either waste a great deal of time switching USB interfaces, or alternately waste a great deal of time sneakernetting my SD card from the GP2X to my desktop card reader.

The solution? Well, the real solution would be to recompile the kernel to get TCP/IP and PPP working over the serial connection, but I don't have the kernel source. (Oops, grace period, remember?) So, it's time to fall back to the days of the BBS and use good old Zmodem to transfer files while connected via my terminal emulator. To that end, I've ported lrzsz, a GPL fork of Zmodem, to the GP2X. Works very nicely for me.

If you're a GP2X developer in a similar situation, you can download the binary here. The tarball also includes a README on building from source yourself, and a tiny patch to make ./configure work.

Tags: , , , , ,

2006-02-06

A really good day

This past week has been Tech Week for the production of Oliver! in which I was performing, which left no time at all for the blog. The photograph is of me as Fagin, surrounded by my little thieves and pickpockets. I love doing shows with young actors, and I think you can see my enjoyment here.

Yesterday was one of those days where all the news was good. It was the closing performance of Oliver!, which turned out to be the best show of the run. In addition, my team won the Super Bowl (I've been a Steelers fan since before their first Super Bowl win in 1975), and Seton Hall, my alma mater, beat Rutgers in basketball. To top it all off, I finally got gdb to cross-compile for the GP2X.

I am now dreading the inevitable bad day that I expect will soon arrive to bring balance to the Force.

2006-01-19

A hollow Texas drawl says "Plugh"

I predict that every tech blog written by someone over the age of 30 will have a link to defective yeti: Xyzzy within the next few days. Depending on how much older than 30, you may see references to Zork, Adventure or Colossal Cave as this wonderful political satire is discussed.

Speaking of which, the image for this post is a promotional brochure from 1981, for one of Microsoft's first products for the IBM-PC. Nowhere in the brochure does it mention that they copied this program almost verbatim from the original minicomputer game Colossal Cave.

Tags: , , , ,

2006-01-16

Now burning feeds

I've just added a FeedBurner subscription feed to the site, so if you're one of the handful of folks who actually used my Atom feed (Hi, son!), you might have better luck with the new feed.

Of course, the switch was spurred by the fact that BlogLines couldn't read the original feed, so the only people who won't see this message are the feed subscribers. Maybe I'll just call them on the phone one by one. My subscriber list is like the fan base of the hero of "Mr. Richland's Favorite Song". (This reference will be totally lost on you unless you have already taken my advice and gotten the Nilsson anthology.)

Oh, and the switch also caused me to edit the link over on the left side of the web page, so some of what I said in the post about icons isn't quite true anymore. Oh, using .ICO files in an IMG tag still works, I just don't do it now.

Tags: ,

Remembering Harry

I'm taking a short break from Linux-geek postings today.

What's on my mind right now is that it was twelve years ago today that Harry Nilsson died. Harry was an extraordinary singer and songwriter, and I'm spending most of the day listening to his records.

If you're not familiar with Harry, or know him only from "Without you" or "Everybody's talkin'", you owe it to yourself to take a closer listen. I recommend Personal Best: The Harry Nilsson Anthology as a good introduction to a wildly eclectic artist.

Tags: ,