Page 3 of 3

Re: Mac PoP emulation

Posted: August 7th, 2019, 1:00 am
by Norbert
Falcury wrote: August 6th, 2019, 11:54 pmIndeed, this fixes the slowness. :)
Just tested, and indeed the game plays better.

Re: Mac PoP emulation

Posted: August 11th, 2019, 1:10 pm
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.

Re: Mac PoP emulation

Posted: September 27th, 2019, 11:45 pm
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.

Re: Mac PoP emulation

Posted: September 28th, 2019, 4:38 am
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)

Re: Mac PoP emulation

Posted: September 28th, 2019, 8:16 pm
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. :)

Re: Mac PoP emulation

Posted: January 20th, 2022, 12:38 am
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.

Re: Mac PoP emulation

Posted: May 8th, 2022, 5:10 pm
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.