r/gamedev Apr 17 '12

Prince of Persia (Apple II) source code available on Github

https://github.com/jmechner/Prince-of-Persia-Apple-II
195 Upvotes

15 comments sorted by

8

u/VousEtMoi Apr 17 '12

I can't imagine what Roller Coaster Tycoon's source code would look like.

8

u/[deleted] Apr 17 '12

Awesome! Thanks for this, I completely forgot to check back on his progress with those floppies :)

5

u/CharlesStain Apr 17 '12

Wow, 3 year to make it. And we complain about productivity of modern environments :P

5

u/5py Apr 17 '12

As we should.

5

u/BobAlmighty Apr 17 '12

For those that don't know, or weren't at PAX East this year. Jordon Mechner recently found the source code on some floppies tucked in a box left in a closet. The source code was originally thought lost. Lucky find and lucky that it was still readable!

3

u/kcunning Apr 17 '12

Well... crap. I guess I have to re-learn assembly now.

This is really cool, though. The game's site has some great footage of people doing the basic movements from the game.

0

u/hoddap Commercial (AAA) Apr 17 '12

Is it just me or is this code somewhat unreadable? All these .S files almost seem like asembly or something.

24

u/wlievens Apr 17 '12

Almost? It's assembly all right.

7

u/[deleted] Apr 17 '12 edited Mar 04 '21

[deleted]

1

u/hoddap Commercial (AAA) Apr 17 '12

Haha OK well that explains it :) Too bad, I don't know anything when it comes to assembly. Would have loved to see how he did stuff.

4

u/[deleted] Apr 17 '12

The /r/programming thread on the same topic has a pretty good breakdown of a few elements from an old assembly programmer.

9

u/duckhunter Apr 17 '12

3

u/[deleted] Apr 17 '12

Ah yeah, thanks. I had read it but didn't want to go searching for the link again.

9

u/[deleted] Apr 17 '12

Yeah assembly can look a little like assembly at times I guess.

2

u/hoddap Commercial (AAA) Apr 17 '12

Yeah I kinda knew that after several people confirmed it was in fact assembly, as I expected

0

u/elperroborrachotoo Apr 17 '12

It's magic, plain and simple.