•  Back 
  •  XBIOS Function Reference 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-FileVgetMonitor()                                                         XBIOS

Syntax

WORD VgetMonitor( VOID ) or
WORD mon_type( VOID )

Function      VgetMonitor() returns a value which determines the kind of
              monitor currently being used. Thsi function mis alson
              sometimes referred to as mon_type () by some compilers.

Opcode        89 (0x59)

Availability  Available if the '_VDO' cookie has a value of 0x00030000 or
              greater.

Binding       move.w   #$59,-(sp)
              trap     #14
              addq.l   #2,sp

Return Value  VgetMonitor() returns a value describing the monitor
              currently connected to the system as follows:

               Name      Return Value   Monitor Type

               MON_MONO       0         ST monochrome monitor

               MON_COLOR      1         ST color monitor

               MON_VGA        2         VGA monitor

               MON_TV         3         Television