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

Re: [colorforth] CF05, Block 20 (USB), “free”


Quoting Jason Kemp <jason.kemp@xxxxxxxxxxxxxxxx>:

>... " Hi Nick,
[snip]
>... " I think it might not be a specific USB
>... " point?it?s the command ?ok? below 
>... " (listing still right at bottom). 
>... " 
>... " ok show black screen white regs keyboard ; free
>... " 67106904
>... " 3fff800 free !
>... " 
[snip]
>... " 
>... " That 3fff800 is a bit smaller than 4000000,
>... " which is 64MB.  But why that 
>... " number?  Is there a simple explanation of
>... " colorForth?s memory map anywhere?
>... " 
>... " There is the following in Josh Grams source (the
>... " one I use):
>... " ;   100000 dictionary
>... " ;    a0000 return stack (main)
>... " ;    9f400 data stack
>... " ;    9dc00 return stack (draw)
>... " ;    9d000 data stack
>... " ;    9b800 return stack (serve)
>... " ;    9ac00 data stack
>... " ;    99400 divider (bottom of rstack, top of
>... " floppy buffer)
>... " ;    94c00 floppy buffer
>... " ;    92c00 forth dictionary addrs (room for 2048
>... " entries)
>... " ;    90c00 forth dictionary names
>... " ;     7c00 BIOS loads boot sector here; we
>... " immediately move it to 0
>... " ;     4800 source
>... " ;     3000 icons
>... " ;        0 the colorforth kernel
>... " 
>... " So this goes up to 100000h (1MB)
>... " 
>... " I might be barking up entirely the wrong tree
>... " though.  Maybe it is a 
>... " peculiar USB?affected memory address.
>... " 
>... " Thanks,
>... " Jason
>... " 

Nick here:  Or "free" might be freeing some working
space for usb?  By analogy with CF's graphic screen
memory, which tops at 2000000 (see GeneralGraphis.asm
in Josh).

Glad someone is trying to elucidate the usb in CF05;
because there's a lot more of it waiting in CF2.

Caritas,

Nick

****

We are but shaved monkeys with a good grasp of
technology.  
                      -  Guardian blogger


Nick Maroudas  

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