home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_BAS
/
MONITOR.ZIP
/
MONITOR.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-01-04
|
700b
|
53 lines
DECLARE FUNCTION Monitor% ()
' This function will return the type of video card in the system.
' 1 = MCGA Color
' 2 = MCGA Mono
' 3 = VGA Color
' 4 = VGA Mono
' 5 = EGA
' 6 = CGA
' 7 = Hercules
' 8 = MDA
Test% = Monitor%
CLS
PRINT "The Function returns"; Test%
'============================
SELECT CASE Test%
CASE 1
PRINT "MCGA Color"
CASE 2
PRINT "MCGA Mono"
CASE 3
PRINT "VGA Color"
CASE 4
PRINT "VGA Mono"
CASE 5
PRINT "EGA"
CASE 6
PRINT "CGA"
CASE 7
PRINT "Hercules"
CASE 8
PRINT "MDA"
END SELECT
'============================
END