•  Back 
  •  Polaroid 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.8.4.4  Bindings for vqp_filmname                                 TOS

 C:          int16_t vqp_filmname ( int16_t handle, int16_t index, 
             int8_t *name );

 Binding:

             int16_t vqp_filmname (int16_t handle, int16_t index,
                                   int8_t *name)
             {
                int16_t tmp;
 
                intin[0] = index;
 
                contrl[0] = 5;
                contrl[1] = 0;
                contrl[3] = 1;
                contrl[5] = 92;
                contrl[6] = handle;
 
                vdi ();
 
                for (tmp = 0; tmp < contrl[4]; tmp++)
                   name[tmp] = intout[tmp];
 
                return ( contrl[4] );
             }

 GEM-Arrays:

              Address    Element        Contents 
              contrl     contrl[0]      5      # 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]      status # Entry in intout 
              contrl+10  contrl[5]      92     # Escape/Sub-opcode 
              contrl+12  contrl[6]      handle 
              intin      intin[0]       index 
              intout     intout[0..24]  name[0..24]