X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 27 Feb 2008 18:36:44 -0500 Message-Id: <200802272336.m1RNaitQ017115@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (message from Jim Michaels on Wed, 27 Feb 2008 15:15:09 -0800) Subject: Re: 64-bit int? segment-offset pointers? and biosdisk.c References: <4a-dnX9djZFzTSLanZ2dnUVZ_rmjnZ2d AT comcast DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I noticed it didn't allocate any DOS memory with > __dpmi_allocate_dos_memory() before it did its thing with > dosmemput(). and yet it worked. does that mean I can do this too, > or is this a bad practice? If you can use the transfer buffer that DJGPP sets up for you, you don't need to allocate your own memory. Most DJGPP library functions use the transfer buffer.