www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/05/18:19:25

From: Jason Alexander <jalex AT ea DOT oac DOT uci DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: How to get 800x600 resolution?
Date: Thu, 05 Feb 1998 15:06:48 -0800
Organization: University of California, Irvine
Lines: 32
Message-ID: <34DA4608.F0B0D0D1@ea.oac.uci.edu>
NNTP-Posting-Host: pv1821.pv.reshsg.uci.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

  As my question indicates, I'm puzzled on how to obtain 800x600
resolution using the grx22 libraries.  I thought using

    GrSetMode(GR_width_height_graphics, 800,600)

would give the desired effect, but when I ran a simple program
containing the following lines:

   GrHLine(0,800, 0, GrWhite());
   GrHLine(0,750,10, GrWhite());

both lines appeared to be the same length (from which I infer that I
have not, in fact, obtained 800x600 resolution).

  Am I not calling the appropriate functions to place my computer in the
desired graphics mode, or does this mean that the standard video drivers
included with grx22 are not compatible with my video card?

  In place of GrSetMode(GR_width_height_graphics, 800, 600), I've also
tried
GrSetMode(GR_biggest_graphics) and
GrSetMode(GR_width_height_color_graphics,...) with no success.

  Any advice would be greatly appreciated.  I've read grx20.doc and some
of the .h files in /djgpp/contrib/grx22/..., but can't make any progress
on what I'm doing wrong.

Thanks,

Jason


- Raw text -


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