[OpenBIOS] MS word
Tarl Neustaedter
tarl-b2 at tarl.net
Sun Apr 29 03:34:50 CEST 2012
On 2012-Apr-28 20:58 , Programmingkid wrote:
> The MS word is suppose to wait a specified amount of milliseconds before allowing a program to continue. Yet when a simple line of code like this is run: "1000 MS ." hi" ", the message is printed immediately. This happens no matter how high the top value on the stack is. Is this a bug or am I missing something?
Looks like a bug. A common one, since there is no generally accepted way
of measuring delay inside the Forth engine - we seem to always hand-code
a platform-specific method in Openboot (these days we use the "stick"
register to measure real time, and have a property to correlate the
counter to real nanoseconds).
We've several times had bugs where under some conditions, the
measurement of real time differed from virtual time by orders of
magnitude - both ways.
More information about the OpenBIOS
mailing list