•  Back 
  •  Special graphic functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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-File7.8.1.19  vs_palette                                               TOS

 Name:         »Select palette« - Select a colour palette.

 Opcode:       5 (Escape 60)

 Syntax:       int16_t vs_palette ( int16_t handle, int16_t palette );

 Description:  The call vs_palette permits the selection of the colour 
               palette on an IBM CGA graphics card in medium 
               resolution. The following apply:

                Parameter  Meaning

                handle     Workstation identifier
                palette    Colour palette
                            0 = Red, Green, Blue
                            1 = Cyan, Magenta, White

 Return value: The function returns the selected palette.

 Availability: This call was originally designed for use on IBM CGA- 
               based computers. Its usefulness and availability are 
               not guaranteed under any driver, so it should be 
               avoided.

 Group:        Special graphic functions

 See Also:     Binding