www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/09/05:09:45

Date: Fri, 09 Jul 1993 10:15 +0100 (MET)
From: rene_j <R DOT Jager AT ET DOT TUDelft DOT NL>
Subject: LIBGRX driver for MVGA-S3 adapter
To: djgpp AT sun DOT soe DOT clarkson DOT edu

Using libgrx with an MVGA-S3C911 Graphics Adapter, one can use the
stealth.grn driver, but the 132x?? text modes cannot be set by GrSetMode.
To use a modified version (I called it MVGA-S3.GRN, named after the adapter)
one has to change the following in the file MVGA-S3C.ASM, compared to
STEALTH.ASM:

   STEALTH.ASM:

        dw      132,    25,     16,     009h +  00100h  ; VESA 10ah mode
        dw      132,    44,     16,     00ah +  00100h  ; VESA 10ah mode

   MVGA-S3C.ASM:
                                         vv       v
        dw      132,    25,     16,     055h +  00000h  ; VESA 10ah mode
        dw      132,    43,     16,     054h +  00000h  ; VESA 10ah mode
                         ^               ^^       ^
Perform:

   tasm mvga-s3c.asm
   tlink mvga-s3c.obj
   exe2bin mvga-s3c.exe mvga-s3c.grn

Then everything works fine, except for the 132x43 16 colors text mode
(mode no. 54h), which stops at 25 lines without scrolling. This is NOT a
bug in the driver (using the SMODE program accompanying the adapter has
the same result), but one in the BIOS code I assume.

Rene' (R DOT Jager AT ET DOT TUDelft DOT NL)





- Raw text -


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