Skip to the content.

Prince of Persia

Activities › Play

Prince of Persia is Jordan Mechner’s second game, after Karateka, published by Broderbund in 1989, on the Apple II first. A prince, prisoner in the dungeons of the Grand Vizier Jaffar, has one hour to escape and save the princess, who must marry Jaffar or die: an hour of the game, counted by the hourglass of the story. The prince runs, jumps, climbs, hangs from ledges, falls, and fights with the sword, and he moves as a person does, because Mechner drew him from film of his younger brother David running and jumping. It was one of the last great games of the Apple II, and went on to nearly every computer and console; the Apple II source code, found again in 2012, is now public.

This page lets it play by itself first, as it does when no one touches the keyboard: the titles, the story, the princess and Jaffar, and the game playing a part of itself, a run and a fight. Then a game, with the keyboard: the prince runs from where he starts, falls to a lower floor, and meets a guard, without a sword.

What you need

prince of persia side a (san inc crack).dsk, in the Prince of Persia folder of Asimov: side A of a crack of the two sides of the game, which the note beside it calls 100% version, fully playable, with save/load support. Side A is enough for this page; the later levels are on side B, in the same folder. ./fetch-disks.sh in this repository downloads side A into disks/ and checks it.

The machine

An enhanced Apple //e, as the game needs 128 KB:

izapple2 -model none -board 2e -cpu 65c02 -screen color \
    -rom "<internal>/Apple2e_Enhanced.rom" \
    -charrom "<internal>/Apple IIe Video Enhanced.bin" \
    -s0 language \
    -s6 'diskii,disk1=disks/prince of persia side a (san inc crack).dsk'

By itself

  1. Start izapple2 with the command above, and wait. Broderbund Software presents, a game by Jordan Mechner, and the title, on the picture of a palace.

    The title

    Then the story: In the Sultan’s absence the Grand Vizier JAFFAR rules with the iron fist of tyranny…

    The story

  2. The princess, in her room, walking. Jaffar comes in, and turns an hourglass over: she has an hour. At the speed of the machine:

    The princess and Jaffar

    Marry Jaffar… or die within the hour.

    Marry Jaffar or die

  3. The game, playing itself: the prince runs, jumps a pit, climbs, runs past the spikes, and fights a guard with the sword, until one of them falls. At the speed of the machine:

    The game playing itself

A game

  1. Press Return. The game starts on level 1: the prince in the dungeon, a gate behind him, and his health at the bottom left, the small red triangles.

    Level 1

  2. Press L again and again, about three times a second: the prince runs to the right. The game wants the key held down; izapple2 has no key held, only pressed, and a key pressed often enough keeps him running. He runs off the edge and falls to the floor below, and the screen flashes red: he is hurt by the fall. Go on pressing L: the next room, and a guard, with a sword. The prince has none yet, and the guard runs him through.

    Into the room of a guard

    Press button to continue. The sword is somewhere else in the level, to be found before any guard.

    Killed

What next

Next: Lode Runner.

Karateka is Mechner’s first game, of 1984, a fight told like a film, and the source code of Prince of Persia for the Apple II is on Asimov.