•  Back 
  •  Auskunftsfunktionen 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File7.6.62  Bindings für vqt_real_extent                               TOS

 C:         void vqt_real_extent ( int16_t handle, int16_t x, int16_t 
            y, int8_t *string, int16_t *extent );

 Umsetzung:

            void vqt_real_extent (int16_t handle, int16_t x, int16_t y,
                                  int8_t *string, int16_t *extent)
            {
               intin[0..n-1] = string[0..n-1];
               ptsin[0] = x;
               ptsin[1] = y;
 
               contrl[0] = 240;
               contrl[1] = 1;
               contrl[3] = n;
               contrl[5] = 4200;
               contrl[6] = handle;
 
               vdi ();
 
               extent[0..7] = ptsout[0..7];
            }

 GEM-Arrays:

             Adresse    Feldelement    Belegung 
             contrl     contrl[0]      240   # Opcode der Funktion 
             contrl+2   contrl[1]      1     # Einträge in ptsin 
             contrl+4   contrl[2]      4     # Einträge in ptsout 
             contrl+6   contrl[3]      n     # Einträge in intin 
             contrl+8   contrl[4]      0     # Einträge in intout 
             contrl+10  contrl[5]      4200  # Sub-Opcode 
             contrl+12  contrl[6]      handle 
             intin      intin[0..n-1]  string[0..n-1] 
             ptsin      ptsin[0]       x 
             ptsin+2    ptsin[1]       y 
             ptsout     ptsout[0..7]   extent[0..7]