delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/06/18:30:34

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
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: <Kf$xQMAXVxHzEw9S@talula.demon.co.uk>
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.
 */

- Raw text -


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