•  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[ EsetGray ]

#include <tos.h> 

int EsetGray( int swtch );

  <swtch> turns gray mode on or off:
          0 turn gray mode off.
          1 = turn gray mode on.
         -1 = keep current setting.


Function turns gray mode on or off.  It returns the old setting.

Note: Gray mode uses the lower 8 bits of the color register to set a
      gray level (0 = black, 255 = white).  See Color Definition.
      Does not require a monochrome monitor.

Note: Available when '_VDO' cookie >= 0x20000L (see Cookies).

XBIOS Opcode 86

See also XBIOS Video.