delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/09/21:45:47

Date: Sat, 9 May 1998 21:44:24 -0400 (EDT)
Message-Id: <199805100144.VAA27993@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: mop45440 AT mail DOT telepac DOT pt
CC: djgpp AT delorie DOT com
In-reply-to: <01bd7bac$d3952440$LocalHost@default> (mop45440@mail.telepac.pt)
Subject: Re: What is the Transfer Buffer?

> Can someone please explain me what is the transfer buffer?

DOS can't deal with protected memory.  So, each time we need to talk
with DOS we have to use a portion of its memory space instead of ours.
The transfer buffer is a block of DOS memory we allocate and keep
around for all the different functions that access DOS (we move data
in to and out of the tb during many of the calls that deal with dos or
the bios).  You can use it too, if you're careful not to call any
other functions that use it at the same time.

- Raw text -


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