[OpenBIOS] [PATCH 5/10] Add draw-rectangle to the display package

William Hahne hahne1 at illinois.edu
Tue Aug 16 03:25:42 CEST 2011


On Mon, Aug 15, 2011 at 6:57 AM, Mark Cave-Ayland
<mark.cave-ayland at siriusit.co.uk> wrote:
> Ah I see - so the real bug is that OpenBIOS can't add the word correctly? Do
> you have any DEBUG_CIF traces so we can determine the Forth being sent to
> OpenBIOS and come up with a fix for that?

I would recommend looking at the BootX source directly for this. If
you look at http://opensource.apple.com/source/BootX/BootX-45/bootx.tproj/sl.subproj/display.c?txt
line 403. You can see that it just throws the phandle directly into
active-package. The device package implementation in OpenBIOS expects
active-package to only be set by calling the active-package! word. If
it is set directly then it doesn't actually change the active-package.

I would like to note that this particular patch is optional for
booting Mac OS X. It is just nice since it allows the Apple logo to be
displayed.

>
>
> ATB,
>
> Mark.
>
> --
> 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
>
> --
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
>



More information about the OpenBIOS mailing list