delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/04/20:56:57

Date: Thu, 05 Jun 1997 12:32:50 -0700
From: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Subject: Re: Help: Faster double-buffer?
To: "Mr. Th" <be26438 AT binghamton DOT edu>
Cc: djgpp AT delorie DOT com
Reply-to: billc AT blackmagic DOT tait DOT co DOT nz
Message-id: <33971462.3F68@blackmagic.tait.co.nz>
Organization: Tait Electronics NZ
MIME-version: 1.0
References: <Pine DOT SOL DOT L3 DOT 93 DOT 970604135533 DOT 15180B-100000 AT bingsun2>

Mr. Th wrote:
> 
> Here's my problem:  I'm using a double-buffer in 640x480x256 mode.  I
> paint the whole thing to the screen in a single function by switching
> banks, copying some of the buffer with dosmemput, then repeating until I'm
> done.  It works, but it's too slow!!  Is there a faster way???
>                                 Thanks,
>                                 Tom

Try dosmemputl, this will do it 4 bytes at a time.  Also, if available,
try using a linear frame buffer (sorry no details).

Bill
-- 
Leave others their otherness.

- Raw text -


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