delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/02/27/18:37:05

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 <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <q9WdneU695Jic1janZ2dnUVZ_tCrnZ2d@comcast.com> (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> <DJmdnQRh5IpcQ17anZ2dnUVZ_o6knZ2d AT comcast DOT com> <fq11ok$8vo$1 AT aioe DOT org> <q9WdneU695Jic1janZ2dnUVZ_tCrnZ2d 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

> 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.

- Raw text -


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