Porting Pitfall!ª from the Atari 2600 to the Atari 800 and Commodore 64 8-bit computers:

A brief recollection by David Crane

 

With the success of Pitfall!ª on the Atari 2600 it was only natural for Activision to want to sell versions of the game on other platforms.  Converting a game from one system to another is called ÒportingÓ in game industry jargon.  In modern times porting a game is a more natural process, with all of the game play logic written in the C family of languages, and all game assets (images, videos, models, textures, rigging, etc.) created in standard formats.  But in the 1980s every game was programmed specifically for the target console as it was originally authored.  Porting a game to a different console could take almost as long as the creation of the original game.  But the decision was made to port Pitfall!ª (actually based on Pitfall II: Lost Cavernsª) to both of the latest game consoles: the Atari 800 and the C-64, and we in the design lab had to decide how best to go about the task.

 

The development of the C-64 and Atari 800 versions of Pitfall should be a case study.  We started both game ports on the same day with two programmers: Mike Lorenzen on the 800 and Tim Shotter on the C-64.  There were two ways to port a game back then:

  1. Translate the code directly.  For a game written in assembly language, this pretty much requires that the two systems share the same microprocessor.  Then what gets rewritten are the display drivers and anything that is hardware-specific.
  2. Use the original game as a spec and re-write the code.  A finished game is a perfect specification for what to program.  The programmer can play the game until he is intimately familiar with its operation, and while coding can go to specific places in the game and see exactly what it does.


It is a known fact that it is difficult to read someone elseÕs code, so for the C-64 version Tim decided to rewrite from scratch (even though the C-64 did use the same microprocessor as the 2600).  Mike decided to port my code, rewriting the display code for the 800.  They sat in the lab less than 8 feet away from me so either of them could ask questions or get clarification on the code or game operation.

The two projects proceeded at different rates.  The C-64 version showed daily progress – background, screen, characters, etc.  Mike hammered on the 800 version for weeks, translating the code and taking care not to affect any game logic.  The 800 version always looked like it was behind.

Lo and behold, the games reached Beta on the same day, and then came the surprise.  The C-64 version had to go through an entire normal two-month QA process, fixing bugs that occurred during from-scratch development.  The 800 code was bug free!  It played exactly as the original because it used the game play logic right out of the original 2600 game.  In fact, if there were game logic bugs in the 2600 version, they probably existed in the 800 version.

Marketing wanted to release the two versions simultaneously, so while Tim was going through a completely natural debug phase, Mike had time to design and implement an entirely new game world that unlocked when you finished the first.  It was a great level design that improved the overall game play experience for the player.

 

You may have heard stories that the Marketing department wanted Mike to strip out the new level to make the games the same.  Whether or not that was discussed by the Marketing group, I would never have allowed that to happen.  Nor would CEO Jim Levy.  There was never a scenario where Activision of the 1980s would put out a product that was less than the best we could create.

The fact that we got a better product using one method over the other taught us a valuable lesson regarding which porting method was best, at least for assembly-language code.