From: tom burgess Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Problems Date: Sat, 06 Sep 1997 23:43:22 -0700 Organization: BCTEL Advanced Communications Lines: 14 Message-ID: <34124D0A.D8B@drao.nrc.ca> References: <3411E944 DOT 52E6 AT voyageur DOT ca> NNTP-Posting-Host: pntn02m02-72.bctel.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk J.E. wrote: > > Hello. I just downloaded Allegro v2.2, but I am having some serious > problems with the screen scrolling function. I wrote this code to test > the scrolling (something new to me): > It might be useful to check that set_gfx_mode() is not returning a negative number (for failure). Zero indicates success. I think it can fail if the video card does not have enough RAM or doesn't support hardware scrolling. regards, tom.