[OpenBIOS] Update

Tarl Neustaedter tarl-b2 at tarl.net
Thu Dec 20 20:17:43 CET 2012


On 2012-Dec-19 11:39 , Programmingkid wrote:
> 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.

The above indicates a larger problem - the open of output-device failed 
somehow. You don't want to just drop output, you want to figure out why 
that failed.




More information about the OpenBIOS mailing list