[PicForth] ANN: data map capability

David McNab david at rebirthing.co.nz
Tue Dec 7 14:04:58 CET 2004


Hi all,

Attached is a patch against development vers of picforth.fs, which adds 
a new word called 'dmap'.

(Attached also is full picforth.fs, in case the patch is troublesome).

'dmap' is a bit like 'map', except that it dumps out a map of data 
memory usage.

Samuel - you'll see from the code that Forth is not my first language. 
The code is a bit ugly, but it seems to work ok. I've tried to make the 
code readable, so if you want to optimise/refactor it (and even extend 
it to support EEPROM maps), it shouldn't be /too/ painful.

-- 
Cheers
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: picforth-dmap.patch
Type: text/x-diff
Size: 2453 bytes
Desc: not available
Url : http://lists.rfc1149.net/pipermail/picforth/attachments/20041208/95501370/picforth-dmap-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: picforth.fs.gz
Type: application/x-gzip
Size: 17385 bytes
Desc: not available
Url : http://lists.rfc1149.net/pipermail/picforth/attachments/20041208/95501370/picforth.fs-0001.bin


More information about the PicForth mailing list