[OpenBIOS] compile vs runtime

Programmingkid programmingkidx at gmail.com
Wed Mar 31 22:07:39 CEST 2010


I am trying to make a word that does one thing at compile time, and does another thing at runtime. I think this is how you do it:

: myword 
." one"
does>  ." two"
cr ;

When I first use this word, I see "one". Then when I use this word again, I see "two", but it causes OpenBIOS to panic because of a segmentation violation at 3. Is this an OpenBIOS bug, or did I do something wrong?


More information about the OpenBIOS mailing list