www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/19/12:52:12

Message-Id: <m0z9BPp-000S4VC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: "Mark Figura" <nospam AT please DOT com>, djgpp AT delorie DOT com
Date: Wed, 19 Aug 1998 14:00:10 +0000
MIME-Version: 1.0
Subject: Re: help with 640x480x65536
In-reply-to: <6rdo2i$8ak@news1.snet.net>

"Mark Figura" <nospam AT please DOT com> wrote:

> I'm making a game that's gonna use 640x480x65536.  So far, it works fine on
> my computer, but it doesn't switch to that video mode on my friends
> computer.  He has a i740 AGP card, and 640x480x65536 isn't a problem for it
> (unless it's running my program :).  I have a #9 771.
> 
> Here's my function that switches to 640x480x65536...
> int _640x480x64k()
> {
>     __dpmi_regs regs;
>     regs.x.ax=0x4f02;
>     regs.x.bx=0x111;
>     __dpmi_int(0x10,&regs);
>     ... // allocate memory for double buffer, etc...
>     if(regs.x.ax=0x4f)
>         return(1); // it worked
>     else
>         return(0); // it didn't
> }
> 
> On my friends computer, it doesn't work, and it returns a "0".
> 
> Could this be because it's AGP, or what?
> 
> Anybody got any ideas? :)

Did you tried to ask information about this mode in this machine? Are you 
sure the  mode is supported by the VBE of this board?

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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