[OpenBIOS] adding words to open bios

Stefan Reinauer stepan at openbios.org
Mon Jan 18 03:29:14 CET 2010


>
> I'm having a lot of difficulty trying to add my own words to OpenBIOS.
> I though it would be easy as defining the word and saving it in one of
> the .fs files. Here is my simple word
>
> : testword
> ." this is a test word"
> ;
>
> I tried adding this word to start.fs, but when I try to compile
> OpenBIOS r666, I receive this error:
>
> john at iBook:~/openbios-devel$ make
> Building OpenBIOS for ppc
> Building...error:
> make[1]: Entering directory `/home/john/openbios-devel/obj-ppc'
>   GEN   bootstrap.dict
> panic: segmentation violation at (nil)
> dict=0x48131008 here=0x48136624(dict+0x561c) pc=0x4813380c(dict+0x2804)
> dstackcnt=4 rstackcnt=5 instruction=481312ec
> dstack: 0x0 0x0 0x0 0x0 0x22
> rstack: 0x0 0x48133b6c 0x48133b78 0x481338ac 0x0 0x0
> Writing dictionary core file
> make[1]: *** [bootstrap.dict] Error 1
> make[1]: Leaving directory `/home/john/openbios-devel/obj-ppc'
> make: *** [build] Error 1
>
> Could someone point me into the right direction?
>
>   
- Try defining it in a file not part of the bootstrap dictionary
- don't use ." ...." but use s" ...." type when defining builtin words

Stefan





More information about the OpenBIOS mailing list