[OpenBIOS] r638 - in trunk/openbios-devel/forth: bootstrap device

Nick Couchman Nick.Couchman at seakr.com
Thu Dec 3 22:06:01 CET 2009

>>> On 2009/12/03 at 08:47, <svn at openbios.org> wrote:
> Author: mcayland
> Date: 2009-12-03 16:47:39 +0100 (Thu, 03 Dec 2009)
> New Revision: 638
> Modified:
>    trunk/openbios-devel/forth/bootstrap/bootstrap.fs
>    trunk/openbios-devel/forth/device/fcode.fs
> Log:
> Fix backwards Fcode branches (bbranch and b?branch). 
> According to the specification, the destination for a backwards Fcode branch 
> must be resolved from the bottom rather than the 
> top of the cstack. The existing version of the code was simply doing a swap, 
> and so nesting any branches within a backward branch 
> would fail since the wrong destination would be resolved from the stack.
> This patch adds a new cstack-startdepth variable to keep track of the cstack 
> base location within an execution context 
> (setup-tmp-comp and execute-tmp-comp) and alters the backward branches to make 
> use of it.
> With this patch in place, Milax under Qemu doesn't crash anymore but sits in 
> an infinite loop reading sectors from the CDROM.

The Solaris Nevada code still gets the unhandled exception in cfetch.


This e-mail may contain confidential and privileged material for the sole use of the intended recipient.  If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way.  If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox.  Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

More information about the OpenBIOS mailing list