Original Prince of Persia source code discovered, released for free

Now you too can tinker with one of video game's most beloved platformers, with the free release of the original source code for 1989's Prince of Persia. This week, series creator Jordan Mechner updated his blog (spotted by Edge) to announce that the code was rediscovered in a box of 3.5” floppies earlier this week and, thanks to the efforts him and his team, subsequently freed from its archaic prison to explore the mysteries of the internet.

“Why would I spend a whole day trying to recover data from some ancient floppy disks?” wrote Mechnar in his latest blog post, adding, “Because if we didn’t, it might have disappeared forever.”

Mechnar admitted not everyone will be keen on playing with the ages-old code, but said it might be of interest to those who have fond memories of the game and an appreciation for the old days, noting, “One might reasonably ask: If you have the recording, what do you need the sheet music for? You don’t, if all you want is to listen and enjoy the music. But to a pianist performing the piece, or a composer who wants to study it or arrange it for different instruments, the original score is valuable.”

“This is why I was so sorry to have lost the Prince of Persia source code, and happy to find it again,” he added.

The source code can be downloaded at github for no charge (assuming you know what to do with it).


  • FoxdenRacing - April 19, 2012 8:44 a.m.

    YOINK! Apple II source code or not, it's a tiny file [about 16 source files, said and done]. Combined with the assembly language guide he linked on Github, it may finally provide insights into the things I've been trying to learn about programming for almost 15 years, but can' every book I've found always has one of two statements in it relating to real-time [or nonblocking] IO: - "[...] is too complex for this book, and will not be discussed." - "Any idiot knows how to do [...], so we won't be wasting time on it."
  • Sy87 - April 18, 2012 8:14 a.m.

    Sweet deal. Maybe an indie can make an update of the game. Credit to original designers of course.
  • gopie - April 18, 2012 10:26 a.m.

    and release it for free *fingers crossed*

Showing 1-3 of 3 comments

Join the Discussion
Add a comment (HTML tags are not allowed.)
Characters remaining: 5000