home .. forth .. colorforth mail list archive ..

Re: [colorforth] modern block style / response


On Thursday 13 March 2003 18:40, Fréderic DUBOIS wrote:
> > On Wed, 12 Mar 2003, Fréderic DUBOIS wrote:
> > > 	Hello again list,
> > >
> > > Could someone be so kind to describe me the implementation
> >
> > of blocks in CF?
> > Always nice to see other forth's  ;-)
>
> I try to put it online: http://www.membres.lycos.fr/astrobe
> I'm not sure it works right know.
>
> > I thought I would tell you what I know about block and CF.
> > In old forth's block was used to access disk room.
> > In CF block is used in the same way. But it treats the ram
> > as it would've the disk.
> >
> > At boot time a variable nc, holds the value of how
> > many tracks are read into the ram blocks. The ram is 32MB
> > worth of blocks.
> > When talking of Chuck's original release.
>
> And these tracks are loaded at address given by BLOCK, is it?

No, these tracks are loaded at address 0x0000 in memory.
colorForth uses a flat memory model and blocks map to memory locations simply 
by

: BLOCK 0x100 * ;

So BLOCK is nothing more than a convenient unit of measure used by the editor.

Cheers,
	Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: colorforth-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: colorforth-help@xxxxxxxxxxxxxxxxxx
Main web page - http://www.colorforth.com