delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/20/15:32:36

From: Henri Ossi <henri DOT ossi AT mail DOT htk DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: Pixel plotting to a double buffer using inline asm
Date: Sat, 20 Dec 1997 11:15:41 +0200
Organization: Telecom Finland News Service
Lines: 20
Message-ID: <349B8CBC.E68AF007@mail.htk.fi>
Reply-To: henri DOT ossi AT mail DOT htk DOT fi
NNTP-Posting-Host: pc1010.public.htk.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi.
 I've read all kinds of tutorials about graphics and stuff, but they
allways explain pixel
plotting directly to screen ram only, and then they start using double
buffered systems
with dosmemput etc. functions.

 So, I ask you:
"How can I plot a pixel to a double buffer and then copy it to screen
using inline asm?"
(two separate functions)
My double buffer is a char pointer, (BTW should I use unsigned char?)
and the graphics mode is 13h.


Thanks for all the possible answers.

--Henri Ossi


- Raw text -


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