From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: looking for xmode 640x400x256 Date: Thu, 6 Mar 1997 19:00:36 +0000 Organization: None Distribution: world Message-ID: References: <331E7A4F DOT 7214 AT worldnet DOT fr> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp votava christian writes: >do you know wherre I can get nice docs for xmode 640x400x256 >in french if it is possible ? This is described in the PCGPE (which can be found on x2ftp.oulu.fi) in the file xtended.txt. There's also some code for setting it in my Allegro library (look at the function xtended_init(), in modex.c). You should be aware, though, that it is a non-standard resolution, and doesn't work on every graphics card. It depends on the presence of a VESA driver that can set the 640x400 mode (which some cards, eg. early S3 chipsets, don't support), and assumes that the card will emulate the VGA plane registers and chain-4 flag despite the fact that it is in an SVGA resolution (this isn't true on my Matrox Mystique). If you want 100% solid code that will run on any machine, you'd be much better off using standard VESA functions in 640x480 mode. /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Beauty is a French phonetic corruption of a short cloth neck ornament. */