Mail Archives: djgpp/1997/03/06/18:30:34
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.
*/
- Raw text -