Prince of Persia (Apple II) Code Review

Prince of Persia (Apple II) Code Review

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