www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/10/07:32:35

From: tom burgess <tburgess AT drao DOT nrc DOT ca>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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):
> 
<deleted>

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019