[PicForth] Problem with libstrings.fs and the bootloader

Alex Holden alex at linuxhacker.org
Fri Nov 12 23:50:39 CET 2004


David McNab wrote:
> The easiest and cheapest workaround I can think of is to first define an 
> empty word:
>  : dummy ;

It seems like a cleaner way might be to include the phrase '4 org' 
somewhere in the source file if you want to use the bootloader but 
aren't including picisr.fs (which already has '4 org' in it). Perhaps 
you should mention this in the bootloader README in case somebody else 
stumbles across the same issue.

BTW do you think the problem with pfd.py on OSX could have something to 
do with the fd it's trying to write to being in O_NONBLOCK mode? The 
write() call is causing an "OSError: [Errno 35] Resource temporarily 
unavailable" error to be thrown. I tried removing the O_NONBLOCK flag 
but it just freezes on the earlier read() call then.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


More information about the PicForth mailing list