Xref: news2.mv.net comp.os.msdos.djgpp:5276 From: brucef AT central DOT co DOT nz (Bruce Foley) Newsgroups: comp.os.msdos.djgpp Subject: Re: Two really stupid questions re: graphics. Date: Sun, 23 Jun 1996 01:01:33 GMT Organization: Internet Company of New Zealand Lines: 27 Message-ID: <4qi8ef$r8g@status.gen.nz> References: <4qb9kg$i7b AT sjx-ixn6 DOT ix DOT netcom DOT com> NNTP-Posting-Host: brucef.central.co.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp richard725 AT denver DOT email DOT com (Richard Adams) wrote: >1) Does anyone know of a SIMPLE way to set up VGA mode 13h, and how to >set up a VESA 1.2 truecolor video mode? (and of course how to get back >to text). I know how to do this in Forth and assembly language in real >mode, but djgpp and it's protected mode has me stumped (wonderful as >protected mode is...:). > >2) Does anyone know of a simple way to plot a pixel in the VESA 1.2 >and VGA's mode 13h? Again, I could do this in assembly language and >forth in real mode, but not in djgpp/protected mode. I know that for >Vesa modes there's stuff like bank switching involved. > Hi. Take a look at the following Web Page. It has 2 very useful tutorials on getting started with AT&T style assembler and Graphics programming with DJGPP: http://remus.rutgers.edu/~avly/djgpp.html Regards, Bruce