From: seetaram_nt AT yahoo DOT com (seetaram_nt AT yahoo DOT com) Newsgroups: comp.os.msdos.djgpp Subject: Writing Directly to Display memory Date: 22 Apr 2003 08:07:29 -0700 Organization: http://groups.google.com/ Lines: 20 Message-ID: <8987bd5a.0304220707.648694ff@posting.google.com> NNTP-Posting-Host: 202.56.254.194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1051024050 31644 127.0.0.1 (22 Apr 2003 15:07:30 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 22 Apr 2003 15:07:30 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi Guys, I have some simple question here,that i hope u guys can easily solve. I want to initialise my display in 640*480*24 mode i.e VBE 112 h using this function. setmode() { union REGS r; r.x.ax=0x4f00; r.x.bx=0x112; int86(0x10,&r,&r); } How will i make sure that my card is set to VBE mode 112 ? After this i want to write to display memory directly my RGB data which is 8 bits each to display a pixel. Say my display memory is initialised at 0xA0000000L and I have RGB Data with me corresponding to a pixel then how can write this to display memory to glow the pixel.? Please give your expert comments Seetaram