Slashdot Mirror


Futureproofing Artifacts: Spacewar! 1962 In HTML5

trebonian writes "In 1997 we posted a playable version of the Spacewar!, the first graphical computer game. Spacewar! was written by Russell et al at MIT in the early '60s. We did not re-implement the game. Rather, we found the original source code, rebuilt it to get an authentic binary and ran it on a PDP-1 emulator that we wrote in Java. We chose Java to implement the PDP-1 because we believed at the time — correctly as it turned out — that a Java version would survive the browser wars. Also, it would not require any effort to keep it running on all platforms well past the turn of the millennium, and through the traffic peaks of Spacewar's 40th and 45th birthday. It's now getting close to 15 years later. We would not want to bet that in another 15 years a Java program will still run on the latest popular platforms. As a hedge to the future, and in an effort to continue the preservation of this significant digital artifact, we've now ported the PDP-1 emulator to Javascript/HTML5. This should see the game through Spacewar!'s 50th (and hopefully 60th) birthday. Expect another update around 2025."

4 of 175 comments (clear)

  1. Re:Why not port to C by Jeremi · · Score: 4, Informative

    How do your port an emulator with graphics capabilities to plain vanilla ANSI C? C doesn't include any graphics API.

    --


    I don't care if it's 90,000 hectares. That lake was not my doing.
  2. Re:First by abigor · · Score: 3, Informative

    It is not the first open source software. Source was routinely released by IBM as far back as the 1950s. The SHARE user group was formed in the mid-50s for this very reason. Maybe you were modded down for being wrong, rather than offtopic.

  3. Re:Asteroids by Colin+Douglas+Howell · · Score: 5, Informative

    As previous replies have pointed out, advances in hardware were key. In 1962, integrated circuits were still in their infancy. They had only been invented four years earlier, and the only ones in production were being built for U.S. military projects like the Minuteman nuclear ballistic missile. And even those were very small-scale circuits, with only a few logic gates per chip.

    Computers like the PDP-1 were built using thousands of discrete transistor components for their logic and magnetic cores for their main memory. The price for a basic PDP-1 at that time was around $100,000 in 1962 dollars, equivalent to about $800,000 today. That's a *basic* system; the point-plotting CRT display used in Spacewar! would have added quite a bit to the cost. The machine with all its peripherals took a good fraction of a room and probably weighed at least 2000 pounds. And running Spacewar! pretty much consumed the PDP-1's entire processing power. (Since the display was point-plotting only, the spaceships had to be drawn as series of dots, and the display had no storage ability, so a lot of processing overhead was needed to constantly refresh the entire list of currently displayed dots.)

    When Spacewar! was written, the video game was basically a science-fiction concept, and computer graphics itself was just beginning to develop. Arcade games at that time were purely electromechanical games, such as pinball. The first commercial arcade video games (Galaxy Game and Computer Space, both of which were ports of Spacewar!) didn't appear until 1971; Atari's Pong came out the following year. Arcade video games of the early 1970s used custom state machines built from TTL logic chips instead of programmed computer systems; the first microprocessor-based arcade video games appeared starting in 1975 with Taito's Gun Fight, which used the Intel 8080. It was those programmable microprocessor-based systems that really allowed video game development to take off; for example, Asteroids was based on a 6502. Incidentally, Asteroids' vector display system first appeared in an arcade game with Cinematronics' Space Wars in 1977.

    Spacewar! was widely ported to various computer systems during the 1960s and 1970s, so it's no surprise that Asteroids bears a strong resemblance to it.

  4. Re:Benchmark? by hawguy · · Score: 3, Informative

    I found some more information about the PDP-1, and it looks like it could complete 200K operations/second (100K multiplies).

    It cost $120K in 1960, or around $900K in today's dollars.

    I still don't know how fast the emulator is, but I bet it's faster than the original.