From: Fabrice ILPONSE Newsgroups: comp.os.msdos.djgpp Subject: Re: help with 640x480x65536 Date: Wed, 19 Aug 1998 13:50:16 +0200 Organization: Universites Paris VI/Paris VII - France Lines: 23 Message-ID: <35DABBF8.F21C027E@asim.lip6.fr> References: <6rdo2i$8ak AT news1 DOT snet DOT net> NNTP-Posting-Host: asim.lip6.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > ... // allocate memory for double buffer, etc... > if(regs.x.ax=0x4f) > return(1); // it worked > else > return(0); // it didn't > } > Hi!! I don't know if 0x111 is a standard number for a video mode. The best way to know if this mode exists is to check all the video modes informations (bitperpixel,resx,resy,etc...) PS: in the comparison it's "==" and not "=" -- ^ ^ ^ | | | +-+-+ Fabrice ILPONSE | email: fabrice AT asim DOT lip6 DOT fr | | -