🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1257

Determining Video Subsystem Type ...

#1257
From: Ed Felton
Date: Fri, 14 Jun 1991 13:38
20 lines
1306 bytes
How can I, without using anything DOS'ish, (BIOS calls or memory reads only),
determine the Video Subsystem that is in place?

I have a code fragment from "USER INTERFACES IN C" [Mark Goodwin]
that detects MDA, CGA, and EGA/VGA.

I would like to go further, and be able to break the EGA/VGA down into 
EGA or VGA, and also would like to be able to detect any others like
SVGA.

Any help in this is greatly appreciated.  
Source code, Pseudocode, Smoke signals all accepted.
 Thanks in Advance

Ed Felton
-- 
Ed Felton
PC Diagnostics Guy                   _H_a_v_e_ _._s_i_g_,_ _w_i_l_l_ _t_r_a_v_e_l_.
SCI Systems Inc.
InterNet: _f_e_l_t_o_n_@_s_c_i_._c_o_m  The late MA Bell: W:_(_2_0_5_)_ _8_8_2_-_4_2_7_0   H:_(_2_0_5_)_ _7_2_5_-_4_8_7_9
Technical Details
Message-ID: <1991Jun14.133809.14503@eng3.sci.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!uunet!sci34hub!eng3!felton

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!uunet!sci34hub!eng3!felton
From: felton@eng3.sci.com (Ed Felton)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Determining Video Subsystem Type ...
Message-ID: <1991Jun14.133809.14503@eng3.sci.com>
Date: 14 Jun 91 13:38:09 GMT
Reply-To: felton@eng3.sci.com (Ed Felton)
Organization: SCI Technology, Inc., Huntsville, Al.
Lines: 20