Hi!
29-Мар-2004 14:18 [EMAIL PROTECTED] (Bernd Blaauw) wrote to
[EMAIL PROTECTED]:
>> the difference between BUFFERS=20 and BUFFERS=30 is that more HMA is
>> marked as *used* and no longer available to some theoretical other HMA
>> allocating program.
BB> interesting.
BB> minimum is 6
Wrong.
BB> let's say N buffers are requested (-100<N<100)
BB> let's say M buffers fit in HMA (0<=M<infinity, but normally [free_HMA_space
BB> DIV buffsize])
if{M>>=6}
BB> {
BB> if(6<=N<=M<100) --> mark N buffers as used
BB> after marking, fill HMA with N=min(M,99) buffers // fill up until full or
BB> 99 reached.
Wrong.
BB> }
BB> else
BB> {
BB> N=max(-99,min(-1*(abs)N, -1)) // this takes care of buffers=0,
BB> buffers<-99 or buffers>99
BB> }
BB> // buffers will always have been made negative, unless fits in HMA.
BB> if buffers>0 -> put in HMA
BB> if buffers<0 -> put in conventional memory
Wrong.
Better if you reread my explanation or review Config_Buffers() and
config_init_buffers() yourself.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel