•  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.72  Bindings for vq_devinfo                                    TOS

 C:          void vq_devinfo ( int16_t handle, int16_t device, int16_t 
             *dev_open, int8_t *file_name, int8_t *device_name );

 Binding:

             void vq_devinfo (int16_t handle, int16_t device,
                              int16_t *dev_open, int8_t *file_name,
                              int8_t *device_name)
             {
                intin[0] = device;
 
                contrl[0] = 248;
                contrl[1] = 0;
                contrl[3] = 1;
                contrl[6] = handle;
 
                vdi ();
 
                *dev_open = ptsout[0];
                dev_name[0..p]    = ptsout[1..p-1];
                file_name[0..i-1] = intout[0..i-1]
             }

 GEM-Arrays:

              Address    Element         Contents 
              contrl     contrl[0]       248   # Function Opcode 
              contrl+2   contrl[1]       0     # Entry in ptsin 
              contrl+4   contrl[2]       p     # Entry in ptsout 
              contrl+6   contrl[3]       1     # Entry in intin 
              contrl+8   contrl[4]       i     # Entry in intout 
              contrl+12  contrl[6]       handle 
              intin      intin[0]        device 
              intout     intout[0..i-1]  file_name[0..i-1] 
              ptsout     ptsout[0]       dev_open 
              ptsout+2   ptsout[1..p-1]  device_name[0..p-2]