Re: [AD] Bug when attempting to set GFX_AUTODETECT_WINDOWED in the DOS version of Allegro. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] Bug when attempting to set GFX_AUTODETECT_WINDOWED in the DOS version of Allegro.
- From: Trent Gamblin <trentgamblin@xxxxxxxxxx>
- Date: Thu, 27 Apr 2006 16:56:33 -0400 (EDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=etpO7y25KxWO2s8cXLpHzNdqpu4M4Wl52xAuN/BmFO6sj0dwg3GSo76zlxK1SWFxoxt6oQD++xJRL9bbnABRRAZV4TXpiy2vz7CLFGUcivo1xSSXZkTeIv/tr+jFa/CyCYBrlidgcjkasuKupwWqIA8WeSQDeyG5BG626eHwx5o= ;
--- Andrei Ellman <ae-a-alleg@xxxxxxxxxx>
wrote:
> When I run the following line from a program
> compiled with the DOS
> version of Allegro 4.2 (compiled with DJGPP):
>
> set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0,
> 0);
>
> the program has been known to crash with a SIGILL
> error (illegal
> instruction). My guess is that because on DOS there
> are no windowed
> modes, the pointer in some vtable or other is set to
> a dodgy address.
This returns -1 for me. Do you have an allegro.cfg
file with gfx_card* variables set?