Prince Of Persia Code Review (2013)

Prince Of Persia Code Review (2013)

The Apple II apparent poor environment for game programming was actually ground to unmatched innovation and creativity : From self-modifying code, in-house bootloader, clever floppy disc format to skewing lookup tables: Prince Of Persia features engineering treasures in every modules. The source code is available in a GitHub repository and can be downloaded with one command:

The interesting part is in which contains the game engine made of numerous files. The drawing on the left shows how simple everything is:Most operation are for loading and storing the register, X and Y register have simple instructions while the Accumulator is a little bit more fancy but overall it is straightforward and well documented.

Source: fabiensanglard.net