🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7103

Re: Determining Video Subsystem Type ...

#7103
From: Andy Wilks
Date: Mon, 17 Jun 1991 21:58
39 lines
2391 bytes
In article <1991Jun14.133809.14503@eng3.sci.com> felton@eng3.sci.com (Ed Felton) writes:
)How can I, without using anything DOS'ish, (BIOS calls or memory reads only),
)determine the Video Subsystem that is in place?

Look at the little label on the back of the monitor...
 
>I have a code fragment from "USER INTERFACES IN C" [Mark Goodwin]
>that detects MDA, CGA, and EGA/VGA.

Any code you have has to generate a BIOS interupt to determine the video
display.  That is how you communicate with the hardware.  Of course, if
you insist on NOT using interupts you could query the ports yourself.
 
)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


/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
*   I don't express opinions, I just follow orders...             (___)   *
/                                                                 (o o)   /
*   Andy Wilks                   One of the few .sig's->   /-------\ /    *
/   andy@fiskville.mc.utexas.edu   with ASCII livestock.  / |     ||O     /
*   android@ccwf.cc.utexas.edu                           *  ||,---||      *
/   University of Texas at Austin                           ^^    ^^      /
*   copyright (c) 1934,1942,1961,1990,1991                    BEVO        *
/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/
 
Technical Details
Message-ID: <50689@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
References: <1991Jun14.133809.14503@eng3.sci.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
From: android@ccwf.cc.utexas.edu (Andy Wilks)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Determining Video Subsystem Type ...
Message-ID: <50689@ut-emx.uucp>
Date: 17 Jun 91 21:58:07 GMT
References: <1991Jun14.133809.14503@eng3.sci.com>
Sender: news@ut-emx.uucp
Reply-To: android@ccwf.cc.utexas.edu (Andy Wilks)
Organization: The University of Texas at Austin
Lines: 39