delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/10/09:19:08

From: ben <ouwehand AT chem DOT leidenuniv DOT nl>
Newsgroups: comp.os.msdos.djgpp,comp.graphics.algorithms
Subject: Re: VESA 2.0 and NEAR PTR
Date: Mon, 10 Mar 1997 13:21:52 +0100
Organization: Gorlaeus lab.
Lines: 9
Message-ID: <3323FCDF.2C48@chem.leidenuniv.nl>
References: <33232BE7 DOT 2F3D AT nada DOT kth DOT se> <3323C8DB DOT 308F AT eps DOT agfa DOT be> <3323DCEA DOT 3B21 AT nada DOT kth DOT se>
Reply-To: ouwehand AT chem DOT leidenuniv DOT nl
NNTP-Posting-Host: chemb86.leidenuniv.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Try to and with 0x80 instead of 0x8

Ben
 > >
> > >   int mode = 0x4101;
> > >
> > >   VBE_getmodeinfo(mode, &modeinfo);
> > >   if(modeinfo.ModeAttributes & 0x8)
                                       ^===========should be 0x80

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019