Re: LBAcache devel BUGFIX and improved release

"Arkady V.Belousov" <[email protected]> Mon, 11 Nov 2002 14:25:00 +0300 (MSK)
Newsgroups gmane.os.freedos.devel,gmane.spam.detected
Message-ID <[email protected]>
X-Comment-To: Bart Oldeman

Hi!

11-=EE=CF=D1-2002 05:45 [email protected] (Bart Oldeman) wrote to=

[email protected]:

BO> The solution is to set the PSP to the "lbacache instance 1" PSP using
BO> int21/ah=3D50, then resize the block, and then set the PSP back to the =
PSP
BO> of "lbacache stop".

     I.e. (assumed that in "instance 1" preserved PSP:

1. get (and keep) current PID (Process ID=3DPSP) (through DOS or through
   direct calculation of segment of own PSP).
2. set PID to segment of PSP of "instance 1".
3. make changes.
4. set PID to saved/calculated at step 1 PSP segment.

But I sugget that will be better to modify MCB chain (i.e. split given MCB
and mark second MCB as `free') directly - this is not complex.

BO> Good that this is a free day here :)

     You mean that you have free time? :)