delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/22/07:01:29

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro problems
Date: 22 Dec 1997 11:22:34 GMT
Organization: The National Capital FreeNet
Lines: 19
Message-ID: <67lihq$b5d@freenet-news.carleton.ca>
References: <19971221001500 DOT TAA21617 AT ladder01 DOT news DOT aol DOT com>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

SWars Matt (swarsmatt AT aol DOT com) writes:
> I wrote a fractal generating program in DJGPP with the Allegro graphics
> library. I previously posted my problem, but I have fixed most of the problems
> - they were due to memory allocation. Here's the problem I have now: It works
> fine on some computers, but on a Pentium with STB Velocity 3d VX card with
> DirectX installed on the computer, the text mode doesn't work properly (text is
> mostly made up of squares). The way I set text mode from Allegro is
> set_gfx_mode(GFX_TEXT,0,0,0,0). Why would the text look messed up? Can anyone
> help? Thanks. (Note: I'll send you the program if you need it to help)


Try GFX_TEXT,80,25,0,0. On my S3 I also get craziness if I use 0,0,0,0.

--
    .*.  Friendship, companionship, love, and having fun are the reasons for
 -()  <  life. All else; sex, money, fame, etc.; are just to get/express these.
    `*'  Send any and all mail with attachments to the hotmail address please.
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca pgd73 AT hotmail DOT com

- Raw text -


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