Skip to contentSkip to conversation

M68K Or PPC Status Update to Run Mac OS in Qemu

Qemu-devel G 3 3 participants 4 messages Dec 21, 2009 – Dec 22, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

G 3

author
#1 lore raw
Quoted 11 lines · On Dec 21, 2009, at 2:13 AM, [email protected] wrote:
Quoted 1 line · Leo B

A while back I know someone was working on PPC Support in Qemu to be able to run Mac OS9-Mac OS X in Qemu on X86 PC's not sure about M68K support though so is anybody still working on M68K support or PPC Support and how far is it from being included in a stable Qemu release,I notice Power PC Support still says Testing on the status page how far is it from being complete?

M68k with non-colfire targets is pretty much non-existing. At least when it comes to system emulation (which is the one you're interested in).

As for PPC, the CPU and device emulation code should work fine for OSX up to 10.2 or 10.3. Then Apple dropped support for the G3 Beige.

The major bit missing to get those to work is OpenBIOS. It's missing some Forth extension that the OSX bootloader uses, so it fails to load the kernel and boot.

Alex

What exactly is missing in OpenBIOS. I am currently studying the IEEE 1275 document (OpenBIOS specifications). I would like to add this system if I can.

#2 lore raw
Quoted 29 lines · G 3 wrote:
Quoted 25 lines · On Dec 21, 2009, at 2:13 AM, [email protected]…
Quoted 7 lines · Leo B

A while back I know someone was working on PPC Support in Qemu to be able to run Mac OS9-Mac OS X in Qemu on X86 PC's not sure about M68K support though so is anybody still working on M68K support or PPC Support and how far is it from being included in a stable Qemu release,I notice Power PC Support still says Testing on the status page how far is it from being complete?

M68k with non-colfire targets is pretty much non-existing. At least when it comes to system emulation (which is the one you're interested in).

As for PPC, the CPU and device emulation code should work fine for OSX up to 10.2 or 10.3. Then Apple dropped support for the G3 Beige.

The major bit missing to get those to work is OpenBIOS. It's missing some Forth extension that the OSX bootloader uses, so it fails to load the kernel and boot.

Quoted 6 lines
Quoted 2 lines

Alex

What exactly is missing in OpenBIOS. I am currently studying the IEEE 1275 document (OpenBIOS specifications). I would like to add this system if I can.

OpenBIOS is missing an implementation for local variables. See this thread:
http://www.openfirmware.info/pipermail/openbios/2009-July/003796.html

Alex

#3 lore raw
Quoted 5 lines · Alexander Graf

OpenBIOS is missing an implementation for local variables. See this thread:
http://www.openfirmware.info/pipermail/openbios/2009-July/003796.html

Alex

How do local variables work? Are they just substitutions for stack places?

If you can point me towards a specification for this, I can have a look and see how feasible it would be to add this to OpenBIOS.

ATB,

Mark.

Signature · 7 lines
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs
#4 lore raw
Quoted 10 lines · Mark Cave-Ayland
Quoted 5 lines · Alexander Graf

OpenBIOS is missing an implementation for local variables. See this thread:
http://www.openfirmware.info/pipermail/openbios/2009-July/003796.html

Alex

How do local variables work? Are they just substitutions for stack places?

I seriously am the last person to know anything about Forth :-). But I'm sure Stefan can help out here. He's been looking into that before.

Quoted 2 lines

If you can point me towards a specification for this, I can have a look and see how feasible it would be to add this to OpenBIOS.

1)
http://www.complang.tuwien.ac.at/viewcvs/cgi-bin/viewcvs.cgi/gforth/locals.fs?rev=1.8&view=markup

2) http://www.openfirmware.info/FCODE_suite
-> see "local value support"
-> has an incompatible license
-> contains links to documentation IIRC

3) http://www.forthos.org/
-> claims to have local value support, haven't found the sources yet

The code BootX executes:

http://www.openfirmware.info/pipermail/openbios/2009-July/003812.html

Alex