delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/04/05:40:48

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE301366202@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: code to copy screen buffers
Date: Tue, 4 May 1999 10:40:49 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

nchuming writes:
> Does anyone know any other way to swap screen buffers
> from to video memory except using dosmemput(framebuffer, 64000, 0xa0000).
> Can it be done in using inline assembler?

There are a million and one possible ways, for example you could use
a C loop calling _farptr() functions, dosmemput(), enable the nearptr
hack and then use a memcpy(), write it yourself in asm, etc. But
ultimately none of these will be faster than dosmemput(), so why
bother?


	Shawn Hargreaves.

- Raw text -


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