Path: utzoo!attcan!uunet!husc6!uwvax!rutgers!bellcore!tness7!ninja!sys1!hal6000!trsvax!johnm From: johnm@trsvax.UUCP Newsgroups: comp.graphics Subject: Re: VGA from C Message-ID: <194300037@trsvax> Date: 17 Jun 88 13:03:00 GMT References: <1332@cooper.cooper.EDU> Lines: 21 Nf-ID: #R:cooper.cooper.EDU:1332:trsvax:194300037:000:938 Nf-From: trsvax.UUCP!johnm Jun 17 08:03:00 1988 >> Does anyone know how to access the VGA board on a IBM Model 80 from C? > >Is this at all possible from Microsoft C? Does MSC have any >graphic routines? > >L Pereira You can do it in its MCGA mode (the 320 x 200 256 color mode) and its higher resolution modes that have fewer colors. I did a program that used the MCGA mode on the model 60 and it worked just fine (and it was very easy to write because the library routines are extremely simple). There are two caveats though, you must have either version 5.0 or Quick C (the real documentation for the graphics routines are in chapter 4 of the Quick C manual, fortunately that comes with 5.0 also). The other caveat is that you can forget using any of the fancier modes on the new Super VGA cards with the Microsoft library, if you want to use those you'll just have to get down and dirty. However, this shortcoming probably affects the Turbo libraries also :-( John Munsch