From: Paul Richards Newsgroups: comp.os.msdos.djgpp Subject: Allegro - 800x600 16bit doesn't work Date: Wed, 21 Oct 1998 20:20:21 +0100 Organization: Paul's house Message-ID: NNTP-Posting-Host: dunvegan1.demon.co.uk X-NNTP-Posting-Host: dunvegan1.demon.co.uk:193.237.111.243 X-Trace: news.demon.co.uk 909002429 nnrp-06:24239 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.00 <5Y9PmoTxnkdx6tAFcQ+gcCx86I> Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I can't get Allegro to go into 800 by 600 with 16 bit colour on my 1Mb Trident AGI 9440 PCI. I've tried GFX_AUTODETECT, GFX_VESA1 and GFX_TRIDENT but none of them work. 16bit colour works in 640 by 480 and 8bit colour is fine in 800 by 600. When I try to put it into 800 by 600 with 16bit colour the bottom 1/3 of the screen goes mashed up and as soon as I do a putpixel it crashes. I'm running DJGPP from a DOS box in Win98+ and here's my code: allegro_init(); install_keyboard(); set_color_depth(16); set_gfx_mode(GFX_AUTODETECT, 800,600,0,0); then a simple putpixel(screen, xscr,yscr,255); makes it crash. -- Paul Richards EMAIL paul AT dunvegan1 DOT demon DOT co DOT uk HTTP www.dunvegan1.demon.co.uk/paul <- Still under construction ICQ# 14106503 IRC, EFNet Pauldoo QuakeWorld [DIS] Pauldoo