Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File4.5.6 EsetGray TOS Name: »Set/clear gray mode« - Switches on or off the colour interpretation in the video shifter. Opcode: 86 Syntax: int16_t EsetGray( int16_t switch ); Description: The XBIOS routine EsetGray switches on (1) or off (0) the colour interpretation in the colour table as a greytone. A negative value returns the grey bit of the video shifter but does not alter the setting. In greytone mode one can select from a palette of 256 greytones (0-255) instead of 4096 colours (RGB 0-15). Return value: The function returns the previous value of the video shifter's grey bit. Availability: The function is available only in the TOS of the Atari TT (when the high word of the '_VDO' cookie has the value of 2). Group: Screen functions See also: Binding