delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/07/06:11:01

From: combee AT scrsu1 DOT SINet DOT SLB DOT COM (Leendert Combee)
Apparently-To: "sun.soe.clarkson.edu::djgpp"
Subject: help with libgr or libgrx
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 7 Dec 1993 10:29:05 +0000 (GMT)
Cc: combee AT sedalia DOT sinet DOT slb DOT com (Leendert Combee)


  Apparently two messages by me got lost during the break-down:


  o Anyone using curses (part of contrib to djgpp) ? I'm having some
    problem with proper response of getch(). The curses libraray on
    the SUN station I use comes with cbreak() to handle keystrokes
    properly, but I couldn't find the equivalent anywhere in curses
    or the djgpp libs.


  o Now I am trying to do some graphics using either libgr or libgrx.
    But I am having a problem getting things running. 
    I have a VGA graphics adapter with 640*480 resolution and 16
    colors (that are mapped into gray shades). Sometime ago I used a
    another compiler (it was MS fortran 5.0) and I could just set
    my screen in ANY mode by supplying a number 0,1,2, etc to the
    graphics setup routine. Now it's all different: 

    Whatever I set go32 drivers to, GrNumColors always return 256
    even if I use the new graphics drivers stdvga.grn and set nc 16
    If I use the djgpp driver vga.grd or the libgrx ega16.grd/vga16.grd
    my screen turns black or I get weird characters on my screen.
    However, if I use debug32 and at the >> prompt issue cls to wipe
    the screen, I'm back to normal text mode!. WHY DOESN'T that work
    in my program after GrSetMode(GR_Default_text) ??? 

  o Anyone a hint on other graphics libs that may wotk with dj's gcc ??


  THnaks for any help, suggestions & comments

  Leendert  Combee
  combee AT scr DOT slb DOT com

- Raw text -


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