From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro mouse funcs under Win95 Date: Thu, 6 Mar 1997 19:04:55 +0000 Organization: None Distribution: world Message-ID: References: <331EEB5C DOT 3FE7 AT wayfarer DOT demon DOT co DOT uk> <331F00FD DOT 4A32 AT search DOT van DOT wa DOT us> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ben Shadwick writes: >Dan wrote: >> I have a problem though: when I use the Allegro mouse functions, the >> cursor moves very slowly when the program is running under Win95, but >> moves fine when running from DOS. Setting the mouse speed makes no >> difference. I'm using a pentium with 32 megs RAM. Would I be right in thinking you have a Logitech mouse driver? A couple of people have reported this problem, and managed to fix it by switching to a different driver. I have no idea what is causing it, or how to fix the problem, and have been unable to duplicate it on my machine. One thing to try: insert frequent calls to __dpmi_yield() in your main program loop, and see what happens (please let me know if that makes it work). >I also noticed that the timing for the MIDI music is off under Windows >95 - it must be because the timers are less accurate that way. Is this with Allegro 2.2? The timer problem in Allegro 2.11 would cause exactly such timer errors, but although the v2.2 timer routines are less accurate under Win95 than in DOS, the errors shouldn't be enough to cause noticable errors in MIDI playback... /* * 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. */