<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 07 Jan 2009 19:32:03 +0000
From   : afra@... (Phill Harvey-Smith)
Subject: OSHWM / HIMEM question

Christopher wrote:
> On 7 Jan 2009, Phill Harvey-Smith wrote...
> 
>> Hi all,
>>
>> Am I correct in asuming that OSHWM and HIMEM will only ever be on a page 
>> boundry ? If this is the case then the amount of free memory will always 
>> be an exact number of pages which will make things simpler for me.
> 
> Yes, OSWHM/HIMEM are always mutiples of PAGEs (&100)

Cool that's what I had suspected.

> However, not sure that the amount of free memory will be
> a multiple of &100. If you are programming in Basic, the
> size of the program (TOP-PAGE) can be any number of
> bytes, not nec. a round number of PAGEs, I think?

Well, this is for my SWR utils, so that I can use that area as a disk 
buffer, which will also of course mean that any loaded basic program 
will be lost. I also plan to have an option to use the screen mem 
instead to speed things up if you need to preserve the basic prog.

Cheers.

Phill.

-- 
Phill Harvey-Smith, Programmer, Hardware hacker, and general eccentric !

"You can twist perceptions, but reality won't budge" -- Rush.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>