Hello Bart,

>> for unknown reasons, the temp_buff is required; using
>> deblock_buff instead of temp_buff doesn't work.

> Maybe there is a small possibility that you also used an & sign
> for the deblock buf?
No. however AFAICS deblock_buf is only initialized for DOS=HIGH ?

and why not have ALWAYS
  LOL->deblock_buf = disktransferbuffer ?

so I changed it to
  
   if (command == C_BLDBPB)
      MediaReqHdr.r_bpfat = disktransferbuffer;

and also
config.c
      LOL->deblock_buf = disktransferbuffer

*unconditionally* for a net saving of 512 wrt to previous kernels.

tom




> (note that macro -- it's simply there because C doesn't support anonymous
>  unions).

> if that fails try to save/restore it, and if even that fails try to (say)
> subtract 0x100 from the segment adding 0x1000 to the offset (you never
> know with these drivers...), and else one can still (dirtiest
> solution) steal DiskTransferBuffer from dsk.c...

> Bart



> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> Freedos-kernel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freedos-kernel


-- 
Best regards,
Tom Ehlert
mailto:[EMAIL PROTECTED]
+49-241-79886



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to