•  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.38  Bindings for vqt_extent                                    TOS

 C:          void vqt_extent ( int16_t handle, int8_t *string, int16_t 
             *extent );

 Binding:

             void vqt_extent (int16_t handle, int8_t *string,
                              int16_t *extent)
             {
                int16_t *tmp;
 
                tmp = intin;
                while (*tmp++ = *string++)
                   ;
 
                contrl[0] = 116;
                contrl[1] = 0;
                contrl[3] = (int16_t) ((tmp-intin)-1);
                contrl[6] = handle;
 
                vdi ();
 
                extent[0..7] = ptsout[0..7];
             }

 GEM-Arrays:

              Address    Element        Contents 
              contrl     contrl[0]      116   # Function Opcode 
              contrl+2   contrl[1]      0     # Entry in ptsin 
              contrl+4   contrl[2]      4     # Entry in ptsout 
              contrl+6   contrl[3]      n     # Entry in intin 
              contrl+8   contrl[4]      0     # Entry in intout 
              contrl+12  contrl[6]      handle 
              intin      intin[0..n-1]  string[0..n-1] 
              ptsout     ptsout[0..7]   extent[0..7]