www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/16/23:03:53

From: Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems with DJGPP/Allegro on Win2K
Date: Sat, 17 Nov 2001 14:53:37 +1100
Organization: The Internet Group (Sydney)
Lines: 39
Message-ID: <tdnbvt8mo3p4dg9g3accg9hv210fbbfffg@4ax.com>
References: <9t1k0h$5ia$1 AT reader05 DOT wxs DOT nl> <5137-Fri16Nov2001131011+0200-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: p492-tnt1.syd.ihug.com.au
Mime-Version: 1.0
X-Trace: bugstomper.ihug.com.au 1005969216 31631 203.173.129.238 (17 Nov 2001 03:53:36 GMT)
X-Newsreader: Forte Agent 1.8/32.548
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 16 Nov 2001 13:10:12 +0200, "Eli Zaretskii"
<eliz AT is DOT elta DOT co DOT il> wrote:

>> From: "jansb000" <jansb000 AT wxs DOT nl>
>> Newsgroups: comp.os.msdos.djgpp
>> Date: Fri, 16 Nov 2001 00:46:25 +0100
>> 
>> What do I have to do to get my DJGPP code working on a Win2k machine?
>> (Maybe this problem is more related to Allegro then to DJGPP).
>> 
>> The problem that has been reported to me is: the program doesn't produce any
>> screen output, just a dos-box with a blinking cursor.
>
>If your program uses any of the Allegro functions that need to access
>the video hardware directly, via registers, it probably won't work on
>Windows 2000 or Windows XP (and also on NT), because the NT family of
>Windows versions doesn't allow such a direct access.  It thinks it
>needs to save you from yourself ;-)
>
>See section 3.3 of the DJGPP FAQ for more about this.

I have been able to build Allegro using a patched version of DJGPP on
Win XP and the graphics setup program works okay, no sound using the
PCI sound card due to lack of DOS compatability as expected.

The catches are:
1) You need to use the unoffical DJGPP for Win 2K / XP from 
	http://clio.rice.edu/djgpp/win2k/main.htm
2) Use GCC 2.9.5.3 
3) If you have to use GCC 3 then build with debug enabled otherwise
ka-boom. 
4) If you have to use GCC 3 and cannot have debug anabled then search
the djgpp_workers mail archive at www.delorie.com for the experimental
GCC 3.03 from Andris. Downloader be aware!!!

Hope this helps.

Andrew

- Raw text -


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