Message-Id: <199612200611.HAA15804@nic.calypso.net> From: "Henrik Abelsson" To: "Jan Hubicka" , "Shawn Hargreaves" Cc: Subject: SV: djgpp + allegro + win NT? Date: Fri, 20 Dec 1996 07:15:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ---------- > Från: Shawn Hargreaves > Till: Jan Hubicka > Kopia: djgpp AT delorie DOT com > Ämne: Re: djgpp + allegro + win NT? > Datum: den 19 december 1996 20:58 > > Jan Hubicka 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... > From Windows NT 4.0 build 1381 they return Main version: 0 Sub-version: 0 Jan, The graphics routines of allegro seem to work under NT, but the timer routines don't does your program use them? > /* > * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ > * Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'. > */ - Henrik