Mail Archives: djgpp/1998/08/19/12:52:12
"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,®s);
> ... // 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 -