sebastianbiallas / pearpc

PearPC - PowerPC Architecture Emulator
GNU General Public License v2.0
389 stars 70 forks source link

Feature request: Support Mac OS X 10.0 #4

Open claunia opened 9 years ago

claunia commented 9 years ago

Seems to fail loading display driver, so installer quits.

somedude16 commented 7 years ago

bump, because i want it

Atha commented 7 years ago

Have you tried booting Mac OS X in safe mode? You should then be able to remove the display driver extensions to make it use only the unaccellerated framebuffer mode in order to be also able to boot in normal mode.

For safe mode either hold the shift key during boot or use nvram boot-args="-x"

http://virtuallyfun.superglobalmegacorp.com/2011/03/24/10-years-of-os-x-10-0/ 10.0 does boot in single user mode. 10.1 does boot on PearPC 0.4.0. With a little playing around you might be able to find a way to get 10.0 to boot in basic "safe" mode by disabling some extensions. Or it may boot by using some extensions from 10.1, which obviously work on PearPC 0.4.0, in 10.0.

Anyone who wants it should help to find what's stopping it from booting.

khasinski commented 7 years ago

Running latest master I get this error message when booting 10.0 Kodiak DP1:

[CPU/CPU] execution started at 01c010d4
*** &gCPU: 7f9e0a803600, &gJITC: 7f9e0b000000
sizeof cpu: 2720
[IO/PROM] <Error> unknown interpret size 1893
interpret:  drop hex unselect-dev " /packages" find-device new-device " sl_words" device-name : open true ; : close ; 0 value outputLevel : slw_set_output_level   dup 0= if 0 stdout ! then   to outputLevel ; : slw_emit 2 outputLevel <= if emit else drop then ; : slw_cr   2 outputLevel <= if cr then ; 0 value keyboardIH 20 buffer: keyMap : slw_init_keymap   to keyboardIH   keyMap dup 20 0 fill ; : slw_update_keymap { ; dpth }   depth -> dpth   keyboardIH if     " get-key-map" keyboardIH $call-method     depth dpth - 1 = if 20 then     4 / 0 do       dup i 4 * + l@ keyMap i 4 * + tuck l@ or swap l!     loop drop   then ; 0 value spinType 0 value screenIH 0 value cursorAddr 0 value cursorX 0 value cursorY 0 value cursorW 0 value cursorH 0 value cursorStage 0 value cursorTime 0 value cursorDelay : slw_spin   screenIH 0<> cursorAddr 0<> and if     get-msecs dup cursorTime - cursorDelay >= if       to cursorTime       slw_update_keymap       spinType 0= if         cursCreidhne:pearpc_osx_generic

From what I've googled it's an unimplemented hack somewhere here: https://github.com/tycho/pearpc/blob/master/src/io/prom/promosi.cc#L478 . do you have any pointers how to solve this issue?

levinli303 commented 7 years ago

I've found a link to a binary file where its author says this version of pearpc can boot Mac OS X DPs and 10.0. But the link is dead so I cannot verify and neither am I able to contact the author.

He said something about real-mode boot-loader, could it be the issue of real mode.

winexe0 commented 4 years ago

If you can give me the link I can try to get it by the Wayback Machine