delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/07/20:45:07

From: "Joel_S" <jbs30000 DOT news DOT invalid AT web2news DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: fread into mapped memory
Date: Sat, 08 Mar 2003 02:37:51 +0100
Organization: Web2news.com
Message-ID: <18330N471@web2news.com>
References: <17824N256 AT web2news DOT com> <3e68c74c DOT sandmann AT clio DOT rice DOT edu>
MIME-Version: 1.0
NNTP-Posting-Host: 198.81.26.238
X-Complaints-To: abuse AT web2news DOT net
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> The extra memory copy is very fast and unlikely to be
> worth any effort
> to fix.  But if you want to do this, you would need to make a copy of
> the library _read() procedure - and see that you want to
> copy directly
> from the DOS memory area with one selector to the screen area with a
> second selector. 
Yeah, I thought that might be the answer, find the read or fread
routine, and re-write it to include the new linear frame buffer
selector.  Although, thinking about it, since DJGPP is PM, and lets you
play with megs of memory, it's probably just faster to have two
routines.  One, to store the bmp image into memory, then, one to display
the image from the buffer.  Anyway, thanks for the help.
-- 
Direct access to this group with http://web2news.com
http://web2news.com/?comp.os.msdos.djgpp

- Raw text -


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