delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/19/10:49:45

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3567343@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: NT, Allegro and a Mouse!
Date: Fri, 19 Feb 1999 15:49:18 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

James Bunting writes:
> When I run my DJGPP app under NT4 it works fine except that the mouse 
> does not work. Allegro does detect the mouse and the pointer appears 
> on the screen.
>
> Would I need a special NT mouse driver to get this to work?  Or am I 
> just silly for trying to run a DJGPP/Allegro App under NT in the 
> first place!

<cue evil chortle>

Yup, you are pretty silly :-)

NT is _really_ bad at running DOS programs, especially anything that 
talks directly to the hardware. Some people have reported that the
standard VGA mode 13h does work correctly, and some even claim that
mouse input works using the special NT-compatible mode (this should
be autodetected, but you can force it in the config file to make
sure), but most people can't get the mouse to work, and I don't
think anyone has managed to use SVGA modes.

Solution: use WinAllegro if you want to program for NT. Or switch to 
Linux: DOSEMU does a great job of running djgpp/Allegro programs.


	Shawn Hargreaves.

- Raw text -


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