•  Back 
  •  Inquire 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.6.42  Bindings for vqt_fg_color                                  TOS

 C:          int32_t vqt_fg_color( int16_t handle, COLOR_ENTRY 
             *fg_color );

 Binding:

             int32_t vqt_fg_color( int16_t handle, COLOR_ENTRY *fg_color )
             {
                contrl[0] = 202;
                contrl[1] = 0;
                contrl[3] = 0;
                contrl[5] = 0;
                contrl[6] = handle;
 
                vdi ();
 
                fg_color = intout [2..5];
                return ( int32_t intout [0]  );
             }

 GEM-Arrays:

              Address    Element      Contents 
              contrl     contrl[0]    202   # Function Opcode 
              contrl+2   contrl[1]    0     # entry in ptsin 
              contrl+4   contrl[2]    0     # entry in ptsout 
              contrl+6   contrl[3]    1     # entry in intin 
              contrl+8   contrl[4]    6     # entry in intout 
              contrl+10  contrl[5]    0     # Sub-opcode 
              contrl+12  contrl[6]    handle 
              intout     intin[0..1]  color_space 
              intout+4   intin[2..5]  fg_color