On Dec 20, 2012, at 2:17 PM, Tarl Neustaedter wrote:
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.
According to this page: http://lists.openbios.org/pipermail/openbios/2011-August/006620.html, bootx is setting this variable to null.
I think this patch is all we need fo fix the problem.