From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro: clear_to_color() Date: 11 Oct 1997 17:22:51 GMT Organization: Oxford University, England Message-ID: <61oclb$li3$2@news.ox.ac.uk> References: <61oa8b$9vg$1 AT news DOT interlog DOT com> NNTP-Posting-Host: sable.ox.ac.uk Lines: 18 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Gautam N. Lad (gautam AT interlog DOT com) wrote: : Ok, first of all, is the 'screen' a BITMAP *? When I say screen, I mean what : ever is written to it, goes to the screen (eg. line(screen,10,10,400,39,5); ). Yes, it is. You can only use it when you're in a graphics mode though. : When I did this: : clear_to_color(screen,WHITE); : I get a GPF. Why? Isn't a screen a BITMAP *? Did you set_gfx_mode first? Did the call to set_gfx_mode succeed? I expect one of those is your problem. :) -- George Foot Merton College, Oxford