From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Win95 makes my gfx flicker!!! Date: Tue, 1 Jul 1997 19:45:51 +0100 Organization: None Distribution: world Message-ID: References: <33b91136 DOT 307368 AT news DOT algonet DOT se> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Christian Granström writes: >1. I put out some scrolling stars to see if the synch > works fine. And it does but about every second > it just stops for a frame or two and then continues. > This must be some strange win95 behaviour > but I have seen a lot of demos working > in win95 so what is this???? You can blame that on Microsoft. I've yet to see a program that syncs with the retrace and runs smoothly under Windows 95 - even the page flipping in the vbetest program from UniVBE has this problem. Either run it in DOS mode, or don't sync with the retrace (that generally means double buffering to main memory rather than using two pages of video RAM). >2. When i try to run my program with cwsdpmi > in dos I get a page fault. A program that runs > fine in win95 but crashes in dos aint that > something :) That almost certainly means you are dereferencing a NULL pointer somewhere in your code. Win95 lets you get away with such mistakes, while CWSDPMI does a proper job of trapping them... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament. ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet