•  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.56  Bindings für vqt_name                                      TOS

 C:         int16_t vqt_name ( int16_t handle, int16_t element_num, 
            int8_t *name );

 Umsetzung:

            int16_t vqt_name (int16_t handle, int16_t element_num,
                              int8_t *name)
            {
               int16_t tmp;
 
               intin[0] = element_num;
 
               contrl[0] = 130;
               contrl[1] = 0;
               contrl[3] = 1;
               contrl[6] = handle;
 
               vdi ();
 
               for (tmp = 0; tmp < 32; tmp++)
                  name[tmp] = intout[tmp+1];
 
               return ( intout[0] );
            }

 GEM-Arrays:

             Adresse    Feldelement    Belegung 
             contrl     contrl[0]      130   # Opcode der Funktion 
             contrl+2   contrl[1]      0     # Einträge in ptsin 
             contrl+4   contrl[2]      0     # Einträge in ptsout 
             contrl+6   contrl[3]      1     # Einträge in intin 
             contrl+8   contrl[4]      33    # Einträge in intout 
             contrl+12  contrl[6]      handle 
             intin      intin[0]       element_num 
             intout     intout[0]      Return-Wert 
             intout+2   intout[1..32]  name[0..31]