•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Getrez ]

#include <tos.h>

int Getrez( void )


Function returns the screen resolution:
  0 = ST Low    ( 320 W x 200 H,  16 colors) 
  1 = ST Medium ( 640 W x 200 H,   4 colors)
  2 = ST High   ( 640 W x 400 H,  duochrome)
  4 = TT Medium ( 640 W x 480 H,  16 colors)
  6 = TT High   (1280 W x 960 H, monochrome)
  7 = TT Low    ( 320 W x 480 H, 256 colors)

Note: This value is relatively unimportant for the Falcon.
      To get the Falcon color mode, use Vsetmode().

XBIOS Opcode 4

See also XBIOS Video.