www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/22/02:25:41

Message-ID: <32BCF9A2.5565@gbrmpa.gov.au>
Date: Sun, 22 Dec 1996 17:04:35 +0800
From: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Reply-To: leathm AT gbrmpa DOT gov DOT au
Organization: Great Barrier Reef Marine Park Authority
MIME-Version: 1.0
To: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
CC: Jan Hubicka <hubicka AT ta DOT jcu DOT cz>, djgpp AT delorie DOT com
Subject: Re: djgpp + allegro + win NT?
References: <hXL7SRAh5ZuyEw15 AT talula DOT demon DOT co DOT uk>

Shawn Hargreaves wrote:
> 
> Jan Hubicka <hubicka AT ta DOT jcu DOT cz> writes:
> >As I remember allegro already have some detection routine since its demo
> >displays that you are using windows. I am not sure if this works for win nt..
> >but should..
> 
> Allegro uses the int 0x2F function with ax=0x1600, which is documented
> in Ralph Brown's interrupt list as the windows detection function, and
> works under win 3.1 and 95. I haven't been able to test it under NT - if
> anyone could try it out and let me know what values it returns (there
> are two, the main windows version number and the sub-version), it would
> be much appreciated...

Heh heh...well, I have been playing with NT 4 and DJGPP and found some
interesting stuff, although I really need a lot more time by the looks
of
it... :)

I tracked down a problem with __dpmi_map_physical_memory (I think thats
it.. :)
DJGPP just wont do it under NT. NT simply refuses to do any mapping for
my code. I have yet to try Allegro (tonight...) so I will see what that
does...
Of course my code and knowledge of that dpmi is call is limited. If
someone
has some simple code for this, send it along and I will check it...

I cant get delay to work properly. Even with a 1 billion delay, nothing
happens - ie: there is not delay. NT seems to just move on...

I can get mode 0x13 to work. NT doesn't seem to complain about this. As
long
as I am doing 'normal' mode 13 stuff, I don't have too much problem. I
will
check the Mode X stuff tonight...

I cant for the life of me get NT to detect my sound card. It just
wont...Its
got me beat. Warcraft II's setup won't detect it, Duke Nukem won't
detect it...
Allegro is next... :)

And something interesting: I ran the setup program for Warcraft II and
checked
it's system report...

Under 95: Dos 7.0
Under DOS 6.22: Dos 6.22
Under NT 4: Dos 5!!!

Dos 5??? I hope not...

Leathal.

- Raw text -


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