From: "Alessandro Monopoli" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Date: Tue, 16 Feb 1999 12:27:50 +0100 Organization: TIN Lines: 31 Message-ID: <7abkrp$fnp$1@nslave1.tin.it> References: <36C8F08D DOT 8C7D969A AT cats DOT ucsc DOT edu> NNTP-Posting-Host: a-bu6-21.tin.it X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > allegro_init(); > set_color_depth(8); > set_gfx_mode_("VBEAF", 800, 600, 0, 0 ); > Well, you have to write so: allegro_init(); set_color_depth(8); set_gfx_mode(GFX_VESA2L,800,600,0,0); Here is a list of the graphic drivers in Allegro (From "Allegro.txt"): GFX_TEXT - return to text mode GFX_AUTODETECT - let Allegro pick an appropriate graphics driver GFX_VGA - normal VGA (320x200, 320x100, 160x120, or 80x80) GFX_MODEX - select a planar, tweaked VGA mode GFX_VESA1 - use the VESA 1.x driver GFX_VESA2B - use the VBE 2.0 banked mode driver GFX_VESA2L - use the VBE 2.0 linear framebuffer driver GFX_VESA3 - use the VBE 3.0 driver GFX_VBEAF - use the VBE/AF hardware accelerator API GFX_XTENDED - use the unchained mode 640x400 driver Bye!! Alessandro