Mail Archives: djgpp/2000/04/10/18:23:32

From: "Thomas Harte" <T DOT Harte AT btinternet DOT com DOT DELETE_HERE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: WinAllegro / DJGPP?
Date: Mon, 10 Apr 2000 23:18:09 +0100
Organization: BT Internet
Lines: 30
Message-ID: <8ctk47$agq$>
References: <8ct9rr$jrl$1 AT nnrp1 DOT deja DOT com>
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>WinAllegro uses Directx, and this can be used with DJGPP? How? Can I
>find a example that shows the Directx initalization / loading and
>displaying a bitmap and cleanup. The samples in the allegro/demo and
>allegro/examples dir. dont use direct x. or win32 calls..

They all use Allegro calls, because they are Allegro programs! If they used
any DirectX or win32 calls, they wouldn't be compilable under anything but
DirectX or win32, which would be odd considering Allegro also exists under
DOS, X and Linux console.

Anyway, Allegro when used with DJGPP doesn't use DirectX. It just uses
traditional mode 13h, VESA and stuff like that. There also used to be a
supported range of direct chipset drivers, but they sort of disappeared as
everything else about the library grew.

However, if you'd like to use the Allegro API in its DirectX variant, you
can still do this using GCC (the same compiler as in the DJGPP tool set),
via either MingW32 ( ), or if you're feeling like a
messed up bodge approach, you might like RSXNTDJ. Which I think is perfectly
horrible, but never the less can be found from wherever you found DJGPP.
Instructions for using Allegro with these compilers comes with the library
itself in its WIP variation.

Or if you're in the market for spending money, you could buy the Microsoft
compiler and use that. But I guess you're not.


- Raw text -

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