Mac PoP emulation

Discuss other PoP1 related things here.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: Mac PoP emulation

Post by Norbert »

Falcury wrote: August 6th, 2019, 11:54 pmIndeed, this fixes the slowness. :)
Just tested, and indeed the game plays better.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Mac PoP emulation

Post by David »

Falcury wrote: August 6th, 2019, 11:54 pm (I used Super ResEdit, which has a built-in disassembler and hex editor.)
Wow, I didn't even know such a thing exists!

Here are some download links I found:
https://www.macintoshrepository.org/186 ... 2-4-2-1-3-
http://macintoshgarden.org/apps/super-resedit-213
HFVExplorer doesn't seem to like the .bin file, it says "unknown, unsupported, or corrupt MacBinary file".
The .hqx file works fine.
4DPlayer

Re: Mac PoP emulation

Post by 4DPlayer »

I was playing but the demo kept on looping and no keys did anything to skip it. Also, I tried to close SheepShaver but the window didn’t close.
realXCV
Beylerbey
Beylerbey
Posts: 72
Joined: November 4th, 2011, 12:04 am
Location: Right here
Contact:

Re: Mac PoP emulation

Post by realXCV »

4DPlayer wrote: September 27th, 2019, 11:45 pm I was playing but the demo kept on looping and no keys did anything to skip it.
You have to press Command+N to start a new game. (Or choose File->New Game)
4DPlayer

Re: Mac PoP emulation

Post by 4DPlayer »

realXCV wrote: September 28th, 2019, 4:38 am
4DPlayer wrote: September 27th, 2019, 11:45 pm I was playing but the demo kept on looping and no keys did anything to skip it.
You have to press Command+N to start a new game. (Or choose File->New Game)
Thanks for this. I played it and finished. :)
Sance
Sheikh
Sheikh
Posts: 33
Joined: December 30th, 2013, 4:59 pm

Re: Mac PoP emulation

Post by Sance »

Falcury wrote: August 6th, 2019, 11:54 pm
David wrote: September 8th, 2018, 8:22 pm On second thought, I'm not sure if "<=" (BLE, 0x6F) is the correct comparison. Maybe it should be "<" (BLT, 0x6D) instead?

Consider this:
Suppose that the previous waiting ended when TickCount() returned some T value. Then previous_ticks = T.
Then suppose that frame_time = 5.
Now, the loop condition will be true when TickCount() returns T+5, because (T+5) - T <= 5 is true.
So the loop will stop when TickCount() returns T+6 !
This means that 6 ticks have elapsed since the end of the previous waiting, with is 1 tick (1/60 second) too much!
At least this is what I think.
Here is a disk image of Prince of Persia for Mac with the patch applied.
Indeed, this fixes the slowness. :)

(I used Super ResEdit, which has a built-in disassembler and hex editor.)
Just wanted to throw in my thanks for this, I did a playthrough of the Mac port a while ago and the speed fix was awesome:

The funny thing is that even the rare Ubisoft releases that included the Mac port are slower than DOS and since those were my introduction to this version I always thought that well, the Mac version is just supposed to be slower for some reason.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Mac PoP emulation

Post by David »

Recently I found some sites where you can play Mac PoP in the browser.

https://classicreload.com/mac-prince-of-persia.html
The interesting part is that it does not directly emulate a Mac.
Instead it runs ARDI Executor (a Mac(OS) emulator) within DOSBox.
I already knew about Executor for Windows (from PoPUW), but I didn't know it also existed for DOS.

https://archive.org/details/PrinceOfPersiaMacintosh
This one is black-and-white. It uses PCE-macplus.
The sound pops every time something makes sound after a longer silence.
Post Reply