Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!claris!sts!ditka!mcdchg!ddsw1!ddsw1!andyross From: andyross@ddsw1.MCS.COM (Andrew Rossmann) Newsgroups: comp.sys.ibm.pc Subject: ATI EGA Wonder BIOS fix (REPOST) Keywords: ATI EGA Wonder Message-ID: <257f06b8:7308.1comp.ibmpc;1@ddsw1.MCS.COM> Date: 8 Dec 89 01:00:05 GMT References: <1798@rwthinf.UUCP> Lines: 42 >Item: 7308 by franke at rwthinf.UUCP (0 responses) >Author: [Christian Franke] > Subj: ATI EGA Wonder BIOS fix (REPOST) > Date: Thu Dec 07 1989 14:26 CST >The ATI EGA Wonder Card (BIOS 4.02) does'nt return the correct display >type (MCGA instead of EGA/VGA) on a call to to INT 10h, AH=1Ah. So we got >problem with some programs: >The following little TSR fixes this problem, it always returns >BX = 0008h (VGA) on INT 10h, AH=1Ah. > >begin 644 egafix.com >MZQ.*Q+L(`)W/G>H`````N!`US2&)'A$!C`83`;@0);H"`%NA(`S2$: >` >end > >Regards, > Christian Franke The above program is a TSR that returns the code. This is not really the correct way to do things. If your card supports the 1Ah call, you should use the following sequence: MOV AH,1Ah ; the command MOV AH,1 ; set display combination code MOV BH,0 ; inactive display code (leave 0 if only 1 display) MOV BL,8 ; active is VGA analog color (7=mono, 4=EGA) INT 10h ; call it up Here is a UUENCODED program that does the above: section 1 of uuencode 3.16 of file vgafix.com by R.E.M. begin 644 vgafix.com /M!JP`;<`LPC-$+@`3,TAN `` end sum -r/size 42268/51 section (from "begin" to "end") sum -r/size 46122/15 entire input file Andrew Rossmann andyross@ddsw1.MCS.COM