VOGONS


First post, by robertmo

User metadata
Rank l33t++
Rank
l33t++

Prince of Persia 2 is not too slow to play with music when you use latest Macintosh II Variation of Mini vMac
http://www.gryphel.com/c/minivmac/dnld_mii.html

Last edited by robertmo on 2018-03-09, 02:00. Edited 1 time in total.

Reply 1 of 18, by robertmo

User metadata
Rank l33t++
Rank
l33t++

Prince of Persia 2 cutscenes are being displayed properly when used with slightly modified horizontal rezolutions. I enclose a build I made that works properly.

Edit: build removed, the solution is to delete the .opt file

Last edited by robertmo on 2018-02-27, 08:56. Edited 1 time in total.

Reply 2 of 18, by robertmo

User metadata
Rank l33t++
Rank
l33t++

I have noticed that cause of some reason Prince of Persia 2 demo has got two right most vertical lines removed making intro doesn't look nice. That was somewhat changed in full version where it is removing two vertical lines from the middle of the screen (line 17 and 18 from the right) so that it is less visible.

Nevertheless cause of some reason both versions have horizontal resolution lowered from 512 to 510 lines.

Attachments

  • pop2_vs_pop2demo.png
    Filename
    pop2_vs_pop2demo.png
    File size
    7.51 KiB
    Views
    8120 views
    File comment
    pop2_vs_pop2demo
    File license
    Fair use/fair dealing exception

Reply 3 of 18, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie

Mac gaming is damn fun because most games aren't just ports from PC versions. Several offer unique features. If only setting up an emulator could be easier...

Reply 6 of 18, by robertmo

User metadata
Rank l33t++
Rank
l33t++
October 13, 2008 […]
Show full quote

October 13, 2008

Today's Development source snapshot adds color to the Mac II emulation. So far this only works in OS X, with other platforms to be implemented later.

The desired color depth is chosen at compile time, with the "-depth" option in the build system. "-depth 0" is black and white (the default for now), "-depth 1" is 2 bit color (4 colors), "-depth 2" is 4 bit color (16 colors), "-depth 3" is 8 bit color (256 colors), "-depth 4" is 16 bit color (thousands), and "-depth 5" is 32 bit color (millions). These options only work with the Macintosh II emulation ('-m II'). Color depth is a compile time option, instead of run time option, to help keep Mini vMac simple and small. However, regardless of the chosen color depth, Black and White is also available, and can be selected from the "Monitors" control panel. (In fact, you may not see color until selecting it from the "Monitors" control panel.)

The FPU and ASC are still not implemented, which sharply limits what programs will work without crashing (which I may not have made clear enough before). Two programs that will work nicely, in color, are "Slime Invaders 2.0.7" by Ingemar Ragnemalm and "Glider 4.10" by John Calhoun, which are both listed in the Arcade Games page.

Besides adding color, this snapshot also patches out the RAM checking at start up code from the Macintosh II ROM (as is already done for other models), and initializes the PRAM more suitably for a Macintosh II. Together, these allow the Macintosh II emulation to start up much faster.

😉

Basilisk II has got too slow music and cutscenes

Reply 8 of 18, by robertmo

User metadata
Rank l33t++
Rank
l33t++

It looks I have found the solution:
https://www.emaculation.com/forum/viewtopic.php?f=7&t=9598

Nevertheless I wonder If anyone could check how demo version behaves on real hardware in both 512x and 640x resolutions.

Reply 9 of 18, by Dystopia

User metadata
Rank Newbie
Rank
Newbie

I might be able to test on real hardware, if you tell me what you want me to do. I have a G3 and a couple of G4s. I also have a 6100 (one of the very first Power Macs) that's waiting on some repair parts and some way to transfer files to it. Should be going again soon.

Sadly none of my 68k Macs have working PSUs. I'm also not sure if I have a working monitor that goes down to 512x384, but I can certainly do 640x480. The problem with 384 is that at 60hz it's only about 24Khz. If the game will handle a higher refresh rate it should be doable. Of course if my old 12" Apple monitor hadn't succumbed to the vertical foldover issue this wouldn't be a problem.

Reply 13 of 18, by Dystopia

User metadata
Rank Newbie
Rank
Newbie

Oh well, I'd already taken screenshots before I read your last post, so might as well post them.

Powerbook G4 1Ghz OS 9.2.2 640x480x120hz. Couldn't try 512x384 as 60hz is out of range of my monitor at that resolution, and I couldn't coax the Mac into giving me a higher refresh rate for that res.

Demo version

MzbcvL7.png

Full version

3NjAWRP.png

The crap off to the right and bottom is there because this was a dual screen set up. The right is the other monitor, the bottom is void. I cropped conservatively so as not to potentially cut of any off what the game rendered.

Reply 14 of 18, by robertmo

User metadata
Rank l33t++
Rank
l33t++

How does it work on both Motorola and PowerPC? (i guess it could have been compiled for both or there is some motorola emulator or it doesn't use hardware directly)
Does it still work on Intel?

Reply 16 of 18, by Dystopia

User metadata
Rank Newbie
Rank
Newbie
robertmo wrote:

How does it work on both Motorola and PowerPC? (i guess it could have been compiled for both or there is some motorola emulator or it doesn't use hardware directly)

Well much like we had Universal binaries which were OS X applications containing both PPC and x86 code, on classic Mac OS we had Fat binaries which were the same thing except 68k and PPC (usually marketed as "accelerated for Power Macintosh", white text in a red starburst oval) .

Prince of Persia though is old enough that it probably never got a PPC update (I didn't check). In that case 68k code was subject to binary translation to PPC code, much like Rosetta on Intel Macs. Except it was so fast and compatible that Apple never bothered to fully port Mac OS to PPC. It's not that the emulator itself was magically efficient compared with Rosetta (indeed there were third party alternatives that had better performance), but there was a huge jump in speed going from the fastest '040 at 40Mhz to the slowest 601 at 60Mhz. Also all 601s had an FPU, while many '040s didn't.

That's not to say there were never performance or compatibility problems running 68k applications on PPC, but they were rare and mostly affected very old stuff, which often had problems even on an '040 or on System 7. It shouldn't affect a game as late into the 68k era as PoP2, seeing as that's from '93, the first Power Macs were from '94, and most of the really crap hacks from the '80s had been punished hard by that time.

Does it still work on Intel?

No. Doesn't run on Leopard either, even on PPC. In earlier versions of OS X it would probably run in Classic, but only on PPC.

Last edited by Dystopia on 2018-02-27, 14:28. Edited 1 time in total.

Reply 17 of 18, by Dystopia

User metadata
Rank Newbie
Rank
Newbie
robertmo wrote:

And why does it run in a window and why does it have black bars in a window?

That's running fullscreen, it's just 1:1 pixel mapping. It was tiny on the Powerbook's built in display at native resolution.

Reply 18 of 18, by filipetolhuizen

User metadata
Rank Oldbie
Rank
Oldbie

I had some issues with 68k games running on PPC but they were very few.
Alone in the Dark - Stuck on the very first stairs (this is not related to PPC code, but the game being run too fast, G3Throttle is able to fix this).
DarkSeed CD Version - Crashes shortly upon launching (it has an unofficial PPC fix). Shows weird pallete on Mac OS 9.2.2 but not on 9.2.1 or earlier.
Indiana Jones & The Last Crusade - Random crashes (it has an unofficial PPC update, which also made music play on PPC machines and made it 256 colours compatible).
MS Flight Simulator 4.0 - Not related to PPC but random crashes on Mac OS 9.2.2 (runs fine on 8.6).
Other than those, mostly no music/sound due to incompatibilities with the PPC sound chip.