Monthly Archives: September 2005

Katrina Damage

My brother-in-law is in Alabama helping out kidney dialysis patients. He sent my sister this photo, which she notes:

This was taken in alabama, Dave said that the concrete that is buckled was by the force of the water.

– kris

Ugly.

Perhaps it hasn’t occurred to Scoble…

Robert Scobe writes:

Of course, I should be thanking Steve Gillmor. He has lowered expectations of Microsoft so low that our customers have even stopped making really creative guesses of what we’re going to show next week at the PDC.

Robert, has it ever occurred to you that nobody is making really creative guesses because Microsoft hasn’t shown themselves to make creative products?

Today everyone is talking about the Rockr and the Nano. Next week, Microsoft will introduce something or other, and people will be talking about…

The Rockr and the Nano, most likely.

Brainwagon Radio: Retro Programming on the Atari 2600

Mostly this podcast concerns itself with my latest geeky project: writing programs for the old atari 2600. Why would anyone do this? Have a listen! Hear the sense of childish joy I take in wasting my time!

Screendump of my Spacewar! emulator

In the podcast I mentioned my implementation of PDP-1 simulator so I could run the original Spacewar! game (a video game which is just barely older than I am). I thought I’d provide this link to it.

Eventually, I’ll have binary images of my “game” available that you can run on Stella. If youa re impatient, you should just grab a copy of it and start writing one yourself. 🙂

More Retro Programming

Brain Wagon

I’ve been mucking around more with programming the Atari 2600, and have just begun to figure out the vagaries of moving the player missiles around.

It’s complicated.

Basically, as the video hardware scans from left to right, you set the horizontal position of a player by issuing a store to hits horizontal position register. The problem: the 6502 is only fast enough to set the position within 15 pixels of a given location. To refine the horizontal position, you need to issue a shift of -8 to +7. The timing is critical and tricky.

I haven’t really worked it all out yet, but I have players moving behind the playfield here in my example.

I think I need to carefully work out the timing on paper before doing anything more refined.

Addendum: Not really sure where that little black bar is coming from either.

Retro Programming

From time to time, I get this curious nostalgia for the computers of my youth. Don’t get me wrong: I love having megaflops to burn, and would gleefully accept more. But sometimes I hearken back to the simpler days of my youth and my first computer: an Atari 400 that I bought with the money I earned by mowing lawns and cleaning the volcanic ash from Mt. St. Helens out of gutters. My old Atari was actually a pretty fun machine with a flexible, powerful (for its day) video architecture. The entire OS ROM was (if memory serves) 10K of 6502 assembly code, and I got hold of the assembly source for it, and read it front to back, studying it for its mysteries.

Brain WagonOver the past couple of weeks, I decided to set my clock back even further, and learn how people programmed the Atari 2600: the first programmable video game that became truly popular. I had forgotten just how primitive the thing was:

  • 1.19 Mhz 6507 processor (like a 6502, but with only 4K of addressable memory)
  • So called “player missile graphics”, two 8 bit wide sprites and two one bit wide missiles
  • No framebuffer: all backgrounds are generated “on the fly”

And yet, people made lots of games for these things. In that spirit, I set out to implement a simple game. I haven’t really gotten two far in a couple of hours of programming, but on the right you can see a screen dump of a title screen that was actually generated by writing assembly code, assembling with p65, a 6502 assembler written in perl and then running the binary image on Stella, a 2600 emulator.

I’ll yap about some of the technical details in this evening’s podcast. If you are interested in this gunk, tune in!

Addendum: Josh reports that he’s getting my “don’t steal bandwidth” image when reading this feed in bloglines. I just checked my own bloglines subscription, and it appears to be working fine for me. Is anyone else having problems seeing linked images in bloglines? I put in a special exception for bloglines, so there shouldn’t be any problems (that is, if my weak understanding of how all this stuff works is actually correct). Drop me an email if you are still having difficulties.

He didn’t just say that, did he?

Oh dear lord. President Arrives in Alabama, Briefed on Hurricane Katrina

We’ve got a lot of rebuilding to do. First, we’re going to save lives and stabilize the situation. And then we’re going to help these communities rebuild. The good news is — and it’s hard for some to see it now — that out of this chaos is going to come a fantastic Gulf Coast, like it was before. Out of the rubbles of Trent Lott’s house — he’s lost his entire house — there’s going to be a fantastic house. And I’m looking forward to sitting on the porch.

Copied from Flutterby.

Astrophotographs from Australia

Southern Cross

While looking for an entirely different CD full of image, I uncovered the original PhotoCD that my friend Jeff Eaton and I made when we went to Australia. It has thirty four images that we took while we were at Grove Greek Observatory. I spent an embarrassing amount of time getting them converted into JPEG form, and now have them on my brainwagon photo gallery. Enjoy.

Drowning New Orleans

Scientific American published this article back in 2001.

A major hurricane could swamp New Orleans under 20 feet of water, killing thousands. Human activities along the Mississippi River have dramatically increased the risk, and now only massive reengineering of southeastern Louisiana can save the city

Sigh.