From: Florian X. <dos...@ao...> - 2000-07-05 15:21:14
|
Which DOS do you use? If you use Lineo Dr-DOS with DPMI ON, it always crash! so long, florian -----Ursprüngliche Nachricht----- Von: Wiktor S. <wsw...@kk...> An: al...@ca... <al...@ca...> Datum: Mittwoch, 05. Juli 2000 13:27 Betreff: [AL] Allegro >Why does it crash? OK. I think I know. There's a bug in Allegro or UNIVBE. >(I'm using Allegro v3.12) > >I have a Cirrus Logic 5446 with 2MB of memory (internal VESA 1.2) > >Scitech Display Doctor (v6.53) creates the "C:\VBEAF.DRV" file. >Allegro tries to use this file but it fails. So this piece of code >will crash: > >-- autodet.cpp -------------- >#include <allegro.h> >main() >{ > set_gfx_mode(GFX_AUTODETECT,640,480,0,0); >} >----------------------------- > >But this one works fine: > >-- vesa1.cpp ---------------- >#include <allegro.h> >main() >{ > set_gfx_mode(GFX_VESA1,640,480,0,0); >} >----------------------------- > >I think that GFX_AUTODETECT returns GFX_VBEAF instead of GFX_VESAx >because it finds incorrect(?) C:\VBEAF.DRV. > >PS. !!! Where is the ALTGR+SHIFT option in keyconf? I NEED IT !!! >PS2. You can download my VBEAF.DRV file from http://kki.net.pl/~wswiktor/vbeaf.drv > > Wiktor Sywula > wsw...@kk... > >-- >Tutaj moze znalezc sie Twoja reklama szczegoly http://www.promocja.kki.pl >Krakowski Komercyjny Internet http://www.kki.pl > > |