www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/02/02:34:44

From: David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Win95 makes my gfx flicker!!!
Date: Wed, 2 Jul 1997 02:48:39 +0100
Organization: None
Distribution: world
Message-ID: <yDaTJOA3NbuzEwSx@jenkinsdavid.demon.co.uk>
References: <33b91136 DOT 307368 AT news DOT algonet DOT se>
<TwkHoKAfBVuzEw0E AT talula DOT demon DOT co DOT uk>
NNTP-Posting-Host: jenkinsdavid.demon.co.uk
MIME-Version: 1.0
Lines: 35
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <TwkHoKAfBVuzEw0E AT talula DOT demon DOT co DOT uk>, Shawn Hargreaves
<Shawn AT talula DOT demon DOT co DOT uk> writes
>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).
>
When I'm running something graphical in a Dos box like above if I've got
a few programs sitting in the background doing *nothing* like Netscape
and my net software which is just eating ram but not CPU time I get this
quick pause every few frames, if I close all the other programs it'll
run as smooth as it does in Dos.
How much ram do you have??
16 meg??
Try closing down as much as you can, even Explorer. Try creating a new
Desktop shortcut to run your program or run it through Run on the start
menu.
Also try switching Win95 to a low res, (should free up some Vid memory.)
Remember even a Dos box takes 1 meg.
Does a Dos based program count as a Dos box though??

-- 
http://www.jenkinsdavid.demon.co.uk for C programmers.
David Jenkins

- Raw text -


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