Re: Strange behavior in callbacks
Reepca Russelstein <[email protected]>
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <CA+jmvS7ucHouVGrmkGV93+dT4iK_uhzLkzKBuuSwHsFAoxKUrQ@mail.gmail.com> |
I was able to work around it by setting and then restoring sp0 on entering and leaving, respectively, the callback function. Perhaps sp0 should be part of the stackpointers struct? Dunno.