•  Back 
  •  VDI Printer Escapes 
  •  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-Filevs_palette()                                                            VDI

Syntax

VOID vs_palette( handle, mode )
WORD handle, mode;

Function      vs_palette() selects a CGA palette.

Opcode        5

Sub-Opcode    60

Availability  This call was originally designed for use on IBM CGAbased
              computers. Its usefulness and availability are not
              guaranteed under any driver so it should thus be avoided.

Parameters    handle specifies a valid workstation handle.
              A mode value of 0 selects a palette
                           of red, green, and blue.
              A mode value of 1 selects a palette
                           of cyan, magenta, and white.

Binding       contrl[0] = 5;
              contrl[1] = 0;
              contrl[3] = 1;
              contrl[5] = 60;
              contrl[6] = handle;

              intin[0] = mode;

              vdi();

Group         VDI Printer Escapes