From: morgado AT mail DOT telepac DOT pt (Jorge Bruno S. S. Morgado) Newsgroups: comp.os.msdos.djgpp Subject: Re: 640 x 400 Date: Wed, 26 Aug 1998 06:05:58 GMT Lines: 38 Message-ID: <35e32e3f.8663182@news.telepac.pt> References: <01bdd031$0b208f20$0818d3d4 AT billy> NNTP-Posting-Host: 194.65.172.81 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Tue, 25 Aug 1998 10:19:47 -0400, "Christopher Roche" wrote: >Could someone please tell me how to get into a 640 x 400 screen. I can get >into 320 x 200 using the screen mode 0x00013 and textmode 3. > >Sorry for my ignorance. > >"He was a self made man who owed his lack of success to nobody" >Christopher Roche >Newcastle, The United Kingdom of Great Britain and Northern Ireland. >Rochey AT CompuServe DOT Com I've saw this in an article that i've printed, infortunaly, I don't know who to credit fot the making of this article. Mode 640x400x256, is an SVGA mode, so, is address varies from card to card, but using the VESA extensions you should be able to get to it, using the mode number 100h: __dpmi_regs Regs; memset(&Regs, 0, sizeof(Regs)); Regs.x.ax = 0x4F02; Regs.x.bx = 0x100; __dpmi_int(0x10, &Regs); Howhever, this mode has an advantage over the other SVGA modes, it requires no bank switching, so drawing a pixel on it, its just like drawing a pixel in mode X (off course that the dimensions are not equal). __________________________________________________________ Jorge Bruno S. S. Morgado, Student of astronomy at Faculdade de Ciênçias do Porto, Portugal, email: morgado AT mail DOT telepac DOT pt