Programmingkid wrote:
Thanks for the help, but I still run into problems. I want to be able to use the functions from the forth interpreter. I tried adding my functions to primitives.c and bootstrap.c, but openbios won't compile.
Here are the functions I am trying to make available to the interpreter:
The outline of the functions looks reasonable, but in order to make this functionality work correctly I think it's going to have to be written in Forth. I suspect this will solve your compilation issue too.
HTH,
Mark.