[PicForth] 2K program memory limitation?

Alex Holden alex at linuxhacker.org
Sat Nov 20 13:11:01 CET 2004


David McNab wrote:
> At that stage in picforth.fs, the radix has been set to hex.
> '2000' means 8192 bytes.

Oops, you're quite right. The default radix thing has caught me out a 
few times because the C-style NNN=decimal, 0xNN=hex convention is so 
ingrained in me. The fact that it's 2000 not 2048 should have given me a 
clue though.

> Lastly - yes, reading picforth.fs is like putting your brain into a 
> blender. A lot of the code is unfathomable (to me anyway, as someone 
> with a Python/C background). But I have grasped bits of it, and have 
> succeeded in writing some useful and powerful extensions. You don't have 
> to understand everything in picforth.fs to get great benefit from the 
> language.

I know; I'm trying to figure out how to add some new features to the 
compiler though (ref: the recent Feature Requests thread) and also to 
work out what every word does so that I can document them.

-- 
------------ 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