Hi Karl.

Maybe you want to take a look at old volksforth - it had blocks on  
flopy disk as forth source.
http://www.forth-ev.de/wiki/doku.php/words:volksforth_kernel
...
: source ( -- addr len ) blk @ ?dup IF loadfile @ (block b/blk exit  
THEN tib #tib @ exit ;
...

Michael



Am 10.11.2010 um 23:46 schrieb Karl Lunt:

> I have all of the support words in place to permit editing and
> loading blocks of source from a serial EEPROM or ferroRAM.  The only
> piece I'm missing is how to hook a buffer read from the block device
> into the text stream used by the interpreter.  What is the
> "traditional" way of doing this?  Should I modify SOURCE to read from
> my block buffer if BLK is not 0?
>
> I have already tried using a custom version of REFILL but I don't
> like this solution.  It works if I type a single load command from
> the command prompt, like this:
>
> 5 load
>
> but It does not work properly if I put more than one load command on
> a command line (5 load  6 load) nor does it work if I put a load
> command inside a block and then load that block.
>
> All suggestions welcome!
>
> Karl
>
>
>
> ---------------------------------------------------------------------- 
> --------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Amforth-devel mailing list
> Amforth-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amforth-devel


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Amforth-devel mailing list
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to