On 19/12/12 16:39, Programmingkid wrote:
The Darwin PPC cd is definitely something you should download. I tried it today and was blown away by the results. I was actually able to see the Apple logo displayed in QEMU! This cd image is free and would allow you to actually test some of the patches yourself. Here's the link: http://www.opensource.apple.com/darwinsource/images/darwinppc-801.cdr.gz
This patch is what allowed me to go so far in booting:
Index: forth/admin/iocontrol.fs
--- forth/admin/iocontrol.fs (revision 1041) +++ forth/admin/iocontrol.fs (working copy) @@ -80,6 +80,7 @@ ;
: io-emit ( char -- )
- stdout @ 0= if drop exit then \ make sure stdout pointer is not null io-out-char c! io-out-char 1 " write" stdout @ $call-method drop ;
I could post the CIF, but it is huge. The above patch is definitely needed.
Interesting. I just tried the above image, but I can get the apple logo with just the get-key-map patch/divide by zero patches. Can you at least send the last few lines of the CIF output so I can compare?
ATB,
Mark.