From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: Minor nuiscances in 2.2 Date: Mon, 26 May 1997 18:27:57 +0100 Organization: None Distribution: world Message-ID: References: <5ma34v$bho AT freenet-news DOT carleton DOT ca> <5mc3kr$a5h AT freenet-news DOT carleton DOT ca> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Derbyshire writes: >// Save me as mousecra.c and compile with gcc mousecra.c -o mousecra.exe >// -lalleg, and run mousecra... [snip] > printf ("Can you see this? Try MODE CO80 if not.\n"); And you can't see this text, right? You aren't going to like this, but it works fine for me! And you figure the problem is to do with the mouse pointer being visible? Ie. if you remove the show_mouse() call, it works ok? Are you sure that the graphics mode is being set correctly here? Try checking the return value from set_gfx_mode(): it will indeed crash if that is failing for some reason... Also, you don't need to pass a screen resolution when restoring the text mode: I automatically put it back to whatever mode it was in before Allegro took over. That doesn't explain your problem, though, because the parameters are just ignored... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.