On Feb 26, 2016, at 5:06 PM, Hervé Poussineau wrote:
Le 13/02/2016 13:40, Mark Cave-Ayland a écrit :
On 13/02/16 12:08, Alyssa Milburn wrote:
On Sat, Feb 13, 2016 at 11:25:49AM +0000, Mark Cave-Ayland wrote:
Hmmm interesting - I'll take a look a bit later. In the meantime, I've uploaded the CD image I'm loading to https://www.ilande.co.uk/tmp/openbios/MacOS921.iso.xz. This is basically stripped of all extensions minus MacsBug, OT and OT ASLM modules.
I'm using an OpenBIOS binary built from the branch I pushed to github, current QEMU git master and the following command line:
./qemu-system-ppc -M mac99 -bios openbios-qemu.elf.nostrip -cdrom MacOS921.iso -cpu G3 -boot d
Let me know if that helps you recreate a similar environment or not.
I also still just get crashes, even with your image. :-( I've tried several compilers for both the OpenBIOS side and qemu.
I wonder if it might be some timing problem.. I have pretty slow computers probably (mostly I use a 2.4GHz Core 2 Duo), are you using something (dramatically) faster?
I'm using a 1.8GHz Core 2 Duo laptop, so mine should be slower than that! My setup is plain Debian wheezy (gcc 4.7.2) but with a custom-built 4.1 kernel. Compilers for OpenBIOS I have built by hand and my current cross-gcc is gcc 5.1.0.
I do have a couple of extra options in my build-ppc.sh script below - not sure if they make any difference though.
build@kentang:~/src/qemu/git$ cat build-ppc.sh
#!/bin/bash
pushd qemu make distclean
STRIP= './configure' '--target-list=ppc-softmmu' '--prefix=/home/build/rel-qemu-git' '--enable-gtk' '--disable-pie'
make -j2 V=1 install popd
I've also uploaded my OpenBIOS binary image which I've just confirmed with git master and my debugging enabled still gets stuck in the ESCC polling loop to http://www.ilande.co.uk/tmp/openbios/openbios-ppc-escc if that helps.
HTH,
Mark.
Hi,
I tried to use MacsBug to find some more details about current emulation problems. I share with you some handful commands I found:
- sc/sc7 (Stack Crawl) to see the stack trace
- es (Exit Shell) to exit MacsBug and try to continue
- ip [addr] (68k code) or ipp [addr] (ppc code) to disassemble around some addresses
Full MacsBug manual is available at https://web.archive.org/web/20110605022118/http://developer.apple.com/tools/...
I've tried lastest OpenBIOS revision (with all ESCC fixes). Unfortunately, MacOS never tries to access unimplemented DBDMA channels and I was unable to find more hints about what's happens.
However, with https://www.ilande.co.uk/tmp/openbios/MacOS921.iso.xz and exiting MacsBug with 'es' command, I'm able to browse cd contents :)
Hervé
Thank you for this information.
Well it looks like we are stuck. For some reason Mac OS 9 will not successfully boot in QEMU with the OpenTransport extension. Are we even sure the ESCC is to blame? I do know a lot of applications depend on this extension. Internet Explorer and Netscape are two examples. So going without it is not going to be much fun. There must be some way to satisfy OpenTransport's needs. I think step one is actually finding out what those needs are.
Also for some reason when I try to type something into Macsbug when using it under Mac OS 9.0.4, the character is repeated to the end of the field. Anyone else see this issue?