From: "André Gil" Newsgroups: comp.os.msdos.djgpp Subject: Allegro and DJGPP Date: Sun, 22 Mar 1998 19:57:29 -0800 Lines: 34 Message-ID: <6f3q6n$imu$1@duke.telepac.pt> NNTP-Posting-Host: 194.65.234.10 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Can someone please tell me why this piece of code doesn't work? It was supposed to load an pcx file with 24 bits colors. If you can mail me the solution: agil DOT home AT mail DOT telepac DOT pt #include #include PALLETE pal; void main(void) { allegro_init(); set_color_depth(24); set_gfx_mode(GFX_VESA1, 640, 480, 0, 0); set_pallete_range(pal, 0, 255, 0); *load_pcx("menu6", pal); getch(); allegro_exit(); } Thanks André Gil ( agil DOT home AT mail DOT telepac DOT pt )