Mail Archives: djgpp/1996/06/09/17:18:49
Xref: | news2.mv.net comp.os.msdos.djgpp:4771
|
From: | Shawn Hargreaves <slh100 AT york DOT ac DOT uk>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Allegro Compatibility
|
Date: | Fri, 7 Jun 1996 11:14:24 +0100
|
Organization: | The University of York, UK
|
Lines: | 37
|
Message-ID: | <Pine.SGI.3.91.960607110233.1540C-100000@tower.york.ac.uk>
|
NNTP-Posting-Host: | tower.york.ac.uk
|
Mime-Version: | 1.0
|
In-Reply-To: | <199606070334.XAA15284@delorie.com>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On Fri, 7 Jun 1996, Lee Braiden wrote:
> Someone mentioned a while ago that Allegro isn't compatible with some
> DPMI providers (NT etc, I guess).. Can anyone give me more details
> on this ?
I know people have used it successfully under win95 and OS/2. It crashes
spectacularly under win 3.1 (but then what doesn't? :-) and I have no idea
about NT...
> Also, how do I alter the startup flags if Allegro already sets them
> (for the sbrk stuff). Can I just put my modules on both sides of the
> library arg when linking ?
What do you need to alter? Allegro sets them to force use of the non-move
sbrk algorithm, which is needed because of all the hw interrupts it
traps. If you need to set them to something else, the easiest way would
be to alter the definition in allegro.c.
BTW. does anyone know how I could make my definition overridable from
user programs? If I define _crt0_startup_flags in liballeg.a and in a
program itself, I get a linker conflict: is there any way to prevent that?
> What's the fastest graphics library available for DJGPP by the way ?
> (For raw speed, in games, etc.)
It depends what you are doing. I would guess probably not libgrx (but
then it can do much more than the other libs). Allegro, JLib, and
XLib all have their good points and bad points...
/*
* Shawn Hargreaves. Why is 'phonetic' spelt with a ph?
* Check out Allegro and FED on http://www.york.ac.uk/~slh100/
*/
- Raw text -