| delorie.com/archives/browse.cgi | search | 
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f | 
| Date: | Fri, 21 Apr 2006 08:44:02 +0300 | 
| From: | alex bodnaru <alexbodn AT 012 DOT net DOT il> | 
| Subject: | Re: dos buffer | 
| In-reply-to: | <A8adnbpWz9FuPdjZnZ2dnUVZ_sednZ2d@comcast.com> | 
| To: | djgpp AT delorie DOT com | 
| Message-id: | <44487122.3010509@alex3> | 
| MIME-version: | 1.0 | 
| X-Accept-Language: | en-us, he | 
| References: | <A8adnbpWz9FuPdjZnZ2dnUVZ_sednZ2d AT comcast DOT com> | 
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 | 
| Debian/1.7.12-1.1 | |
| Reply-To: | djgpp AT delorie 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 | 
look fo "btrieve" in the mailing list alex Eric wrote: > Can anyone point me to some sample code that shows how to allocate a dos > buffer (below 1 meg). I want to understand how to do things this way and > not rely on tb. > For instance: > allocate buffer below 1 meg - size -32k > fill buffer with data and read it back > store actual buffer address in say regs.r.ax and regs.r.bx > free buffer > > I looked at __dpmi_allocate_dos_memory but it gets you a selector and I dont > know what to do to convert that to a pointer > > Thanks > Eric >
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |