Linked by Thom Holwerda on Tue 17th Apr 2012 07:56 UTC
Games While many won't understand the significance of this, this really is kind of a big deal. After accidentally stumbling on the source code for the original Prince of Persia, its creator, Jordan Mechner, has released it as open source. It took some magic to get the code, written in Apple II assembly, off the 23-year old disks. Prince of Persia created an entire genre and left an impression on the games industry that lasts to this very day. Having the original code out and about is huge.
Thread beginning with comment 514462
To read all comments associated with this story, please click here.
Assembly language source code
by YEPHENAS on Tue 17th Apr 2012 08:58 UTC
Member since:

To most of today's programmers having assembly language source code is like having no source code at all. Maybe someone should cross-compile it to JavaScript and HTML5 canvas for them. Wait, I just heard that JavaScript is the assembly language of the web and thus too low-level. So CoffeeScript it should be.

Edited 2012-04-17 09:13 UTC

Reply Score: 12

RE: Assembly language source code
by l3v1 on Tue 17th Apr 2012 09:06 in reply to "Assembly language source code"
l3v1 Member since:

You maybe should've included a few dozen smileys here and there, since that "them" might just not be enough for survival ;)

Anyway, events like this can make my day. It's really a nice experience to be able to go back to such old memories and look at them with a really "deeper" look, right down to these sources, it's just plain fun.

Reply Parent Score: 3

Valhalla Member since:

Heh, yes as someone who first learned programming back on the c64 in 6502 assembly (turbo assembler FTW!) stuff like this brings me sweet nostalgia.

Also I really liked Prince of Persia (unlike Mechner's previous game Karateka). There's a recent 'reverse engineered' remake made for the C64 here together with an interesting devlog:

Bet he would have loved to have had this source code and is likely having alot of fun right now comparing the way he solved certain things compared to Mechner.

Reply Parent Score: 2

Thom_Holwerda Member since:

I voted +1 funny but actually it's not funny at all but a sad reality.

Adam, please add an +1 sad reality voting option. Using JS, of course.

Reply Parent Score: 7

RE: Assembly language source code
by stew on Tue 17th Apr 2012 11:19 in reply to "Assembly language source code"
stew Member since:

Having written my share of 6510 and 68k assembly, I looked at the linked source code and thought to myself "thank god we're not writing things in assembly any more". There are already too many moments when I wish I was using more Python and less C++ at work.

Reply Parent Score: 3

MOS6510 Member since:

Assembler code does look very cool.

Reply Parent Score: 2

ricegf Member since:

I wrote a fairly large (for the time) GA flight displays package in 6502 assembler for NASA back in 1983 (I think). We took it to the Oshkosh Air Show, running on two Atari 800s and the flight sim proper on a small minicomputer, all linked with RS-232.

While I mostly write Python now (when I have time to code at all), the one thing I miss about those halcyon days is that I controlled every single machine instruction running on each 6502. And given De Re Atari, I've never had as deep of an understanding of any machine before or since. Well, except perhaps the CPU I designed and built as my senior project - but it lacked a good display processor. :-D

Abstraction is great, but sometimes you need to understand what's happening at the bare metal.

Raspberry Pi, perhaps? ;-)

Reply Parent Score: 2