delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/24/06:15:05

From: seetaram_nt AT yahoo DOT com (seetaram_nt AT yahoo DOT com)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Writing Directly to Display memory
Date: 24 Apr 2003 02:52:32 -0700
Organization: http://groups.google.com/
Lines: 12
Message-ID: <8987bd5a.0304240152.65451820@posting.google.com>
References: <8987bd5a DOT 0304220707 DOT 648694ff AT posting DOT google DOT com> <mpacav0khfg9gtogkc35qon2q2vmuq7ejs AT 4ax DOT com>
NNTP-Posting-Host: 202.56.254.194
X-Trace: posting.google.com 1051177952 31572 127.0.0.1 (24 Apr 2003 09:52:33 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 24 Apr 2003 09:52:33 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi, 
My requirement is that, i have RGB raw data available to me which
should be converted in to Pixel to display on the screen. This is in
non PC environment.
Now if i am having a linear frame buffer starting with address say
0xa000000l and want to glow a pixel with RGB data then do i need to
write all the R, g and B separately in consecutive locations or i need
to join RGB and write in One memory location ?
Please suggest me.
I am using 24 bpp, 640 * 480 mode.

Thanks

- Raw text -


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