Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!cs.utexas.edu!uunet!comp.vuw.ac.nz!am.dsir.govt.nz!marcamd!mercury!kcbbs!kc From: Gary_Wong@kcbbs.gen.nz (Gary Wong) Newsgroups: comp.os.msdos.programmer Subject: Determining Video Subsystem Type ... Message-ID: <1991Jun20.001034.14362@kcbbs.gen.nz> Date: 20 Jun 91 00:10:34 GMT References: <1991Jun14.133809.14503@eng3.sci.com> Lines: 21 Organisation: Kappa Crucis Unix BBS, Auckland, New Zealand Well I'm no expert on this, and can't help you for detecting a super vga, but it doesn't look like anybody's replied so here's some assembly that will detect what you want through the BIOS: Call function $1A of interrupt $10 with AL set to 0, and you will get 07 or $0 $07 or $08 returned in BL if a VGA is active. You will also get $0A or $0B if they have an MCGA. If you get any other result, or if AL is not set to $1A, then check for other cards: Call INT $10 with AH=$12, BL = $10. If BL is returned as $10, they don't have an EGA, so keep looking... Call INT $10 , AH = $0F, and if AL is 7 then they have either a mono adapter or a Hercules. Otherwise they could have anything. Probably a CGA, but possibly something like the built in PCjr graphics. Don't count on this working. I have used it before & it works on standard stuff, but it won't detect super vga. Good luck anyway. Gary.