delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/08/01:15:16

NNTP-Posting-Date: Tue, 08 Oct 2002 00:07:10 CDT
From: "J. David Kent" <jdk AT ccsisp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: (beginner question)porting from MSC to DJGPP with GRX
Date: Tue, 8 Oct 2002 01:08:03 -0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <p-6dnV3kI9hj-j-gXTWcqQ@News.GigaNews.Com>
Lines: 21
X-Trace: sv3-r0TYmo3RcxHRxBmagEOxuQgyB11UCNREtN9vqysc6+toiESArawUQzLtIl+ZkaZmAqE7LAEYzL/Y7rr!WEv0+5rUDQsY6eVleaqpZ6U+u3NMgMtkFxaXXydqIijsnpHR2ykolNthOORmgAwIdXlLfV5M9hPD!aw==
X-Complaints-To: abuse AT prvlb DOT net
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am making my first attempt at porting a DOS program written with MSC that
included graph.h to DJGPP  2.03 using GRX 2.4.3.

In the original program I have

   _setvideomoderows(_VRES16COLOR, _MAXTEXTROWS);

With GRX in grx20.h there are several structs for different video modes, and
there is a function prototype that reads

int GrSetMode(GrGraphicsMode which, ...);

Is this what I should use? If so, what should the value of which be? The
program is originally written for 16 color, and the boss is hoping to
upgrade to 256 color.

Thank you,

jdk


- Raw text -


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