ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/03/27/16:19:43

Date: Fri, 27 Mar 92 15:55:40 -0500
From: soyata AT phi DOT ece DOT jhu DOT edu (Tolga Soyata)
Sender: soyata AT phi DOT ece DOT jhu DOT edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: DJGPP and GRAPHICS
Status: O

Hi guys,

I installed DJGPP 1.5 on my system. I have a TSENG 4000 graphics card, which
is 1024x768x256. I tried to run ESCAPE. It was already compiled, so I had
to run it with the command GO32 MAIN. My AUTOEXEC.BAT file is below. It
runs Ok, but it runs in 320x200x256 mode. Well, I was thinking that 
changing the GR_default_mode (or something like that) to something else
would help. Nope, it didn't. I tried any parameter in GrSetMode() 
i.e. from 0 to 8. Same thing, I can't get any graphics program run 
in 1024x768. No more than 320x200. 
I have been battling with DJGPP for a month. Probably I'm making
a stupid mistake somewhere. I'm giving you the whole AUTOEXEC.BAT file,
may be you can figure something out. If someone can find a solution 
before I throw my computer out of the window I'll be very happy!!!!!!
Note: My system:
386SX + 387SX + 8MB MEMORY + 1024x768x256SuperVGA TSENG4000 + 200 MB HD
I use HIMEM.SYS with DJGPP.

@ECHO OFF
SET COMSPEC=C:\DOS\COMMAND.COM
VERIFY OFF
PATH C:\DOS;
SUBST L: E:\LEDIT
SUBST M: D:\MATLAB
SUBST N: D:\NOR
SUBST P: D:\PCTOOLS
SUBST S: E:\SMART
SUBST T: D:\BORLAND
SUBST X: E:\CROSS
PATH C:\;C:\DOS;T:\BIN;N:\;P:\;S:\;
PROMPT $P$G
rem SHARE
C:\NUMLOCK OFF
call c:\UTILS
lh mouse

SET RAMDISK=K

SET GCCBIN=D:\DJGPP\BIN
SET GCCINC=D:\DJGPP\INCLUDE
SET GCCLIB=D:\DJGPP\LIB
SET GCCTMP=H:\
SET GO32TMP=H:\
SET GO32=MONO DRIVER D:\DJGPP\DRIVERS\tseng4.GRD GW 1024 GH 768 TW 80 TH 50
SET BISON_SIMPLE=D:\DJGPP\LIB\BISON.SIM
SET BISON_HAIRY=D:\DJGPP\LIB\BISON.HAI
SET FLEX_SKELETON=D:\DJGPP\LIB\FLEX.SKE
SET 387=YES
SET SPICELIB=E:\PSPICE5
SET MATLABPATH=D:\MATLAB
call c:\project
PATH C:\;C:\DOS;D:\DJGPP\BIN;T:\BIN;N:\;P:\;S:\;M:\;X:\;
rem vmode install
rem vmode 80
CLS

- Raw text -


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