delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/19/18:15:29

Message-ID: <35DB4C29.AE59403@sympatico.ca>
From: Mike Stoddart <stodge AT sympatico DOT ca>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help with 640x480x65536
References: <6rdo2i$8ak AT news1 DOT snet DOT net>
Lines: 44
Date: Wed, 19 Aug 1998 22:06:17 GMT
NNTP-Posting-Host: 206.47.27.130
NNTP-Posting-Date: Wed, 19 Aug 1998 18:06:17 EDT
Organization: Bell Solutions
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I also have an i740 AGP, but mine is just driving me crazy.  If I run the
Allegro demo, it seems to be fine, but anything I write above 320x200 just
makes the screen go crazy, as if the monitor can't cope with the signals the
card is pumping out.  Also some games (mine included) seem to blit each frame
to the screen every 140 vertical retraces or so.  This isn't consistent - as
some games it works fine, and some games it doesn't.  I'm very tempted to take
the card back and swap it for something else, as I've had all sorts of problems
with it.

Mark Figura wrote:

> Hi!
>
> 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? :)
>
> Thanks!!!!!
> Mark
> Please send me an email at mfig1 AT snet DOT net



- Raw text -


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