If you click on a link and make a purchase we may receive a small commission. Read our editorial policy.

Prince of Persia source code retrieved and released

Creator Jordan Mechner has released the source code to original Prince of Persia

Prince of Persia creator Jordan Mechner has posted the source code for the original Prince of Persia on GitHub. The source was coded in 6502 assembly language and was retrieved from a 22-year old 3.5" floppy by Mechner with the help of Jason Scot and Tony Diaz.

"We extracted and posted the 6502 code because it was a piece of computer history that could be of interest to others, and because if we hadn't, it might have been lost for all time. We did this for fun, not profit. As the author and copyright holder of this source code, I personally have no problem with anyone studying it, modifying it, attempting to run it, etc," Mechner wrote on the GitHub page.

In addition to the original code, Mechner has included a technical document he created to benefit the terms that ported Prince of Persia to PC, Amiga, Sega Genesis, and more. His original development journals are also available for purchase here.

Prince of Persia was originally released for the Apple II by Broderbund Software in 1989.

Topics in this article

Follow topics and we'll email you when we publish something new about them.  Manage your notification settings .

Mike Williams avatar

Mike Williams

Reviews Editor, USgamer

M.H. Williams is new to the journalism game, but he's been a gamer since the NES first graced American shores. Third-person action-adventure games are his personal poison: Uncharted, Infamous, and Assassin's Creed just to name a few. If you see him around a convention, he's not hard to spot: Black guy, glasses, and a tie.