www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/04/16/23:06:30

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9604170232.AA11959@clio.rice.edu>
Subject: Re: new write.c
To: terra AT diku DOT dk (Morten Welinder)
Date: Tue, 16 Apr 1996 21:32:29 -0600 (CDT)
Cc: djgpp-v2 AT delorie DOT com (DJGPP V2 developers)
In-Reply-To: <199604141645.SAA27419@tyr.diku.dk> from "Morten Welinder" at Apr 14, 96 06:45:54 pm

> What are the chances of the transfer buffer _not_ being aligned
> on a paragraph?  Aren't we just wasting time doing "& 15" all
> other the library?

I set up a macro to do this in one of the .h files (libc/dosio.h?)
which returns the tbseg and tboff - the last time I checked, tboff
had been #defined to zero since I know there is no way with the
current code to get it non-paragraph aligned (since DOS always 
returns only a SEGMENT and no offset for any DOS memory allocation).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019