Mail Archives: djgpp/2001/11/16/23:03:53
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 -