Date: Wed, 10 Nov 1999 14:15:26 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Frederic Cazenave cc: djgpp AT delorie DOT com Subject: Re: virtual memory In-Reply-To: <3828487C.2F1C@radar.mcgill.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 9 Nov 1999, Frederic Cazenave wrote: > Is there a way to change a virtual memory on disk in > a file ? I'm guessing that you are talking about memory-mapped files. If so, then they are not supported in DJGPP, because the DPMI spec doesn't provide the underlying functionality. > In my application when I save data (transfert data from > a ring buffer to a file on disk) I loose the new data. > So I 'm looking for a way to put all my data on a file > faster as possible. An alternative would be to signal to the source of data not to send it while you write to the disk. Yet another alternative would be to compress the data in memory before you write it out (assuming that comression ratio of 2:1 can make a difference in your particular application).