•  Back 
  •  Eingabefunktionen 
  •  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.7.24  Bindings für vsc_form                                      TOS

 C:         void vsc_form ( int16_t handle, int16_t *pcur_form );

 Umsetzung:

            void vsc_form (int16_t handle, int16_t *pcur_form)
            {
               intin[0..36] = pcur_form[0..36];
 
               contrl[0] = 111;
               contrl[1] = 0;
               contrl[3] = 37;
               contrl[6] = handle;
 
               vdi ();
            }

 GEM-Arrays:

             Adresse    Feldelement   Belegung 
             contrl     contrl[0]     111   # 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]     37    # Einträge in intin 
             contrl+8   contrl[4]     0     # Einträge in intout 
             contrl+12  contrl[6]     handle 
             intin      intin[0..36]  pcur_form[0..36] 

            Hinweis: Unter NVDI ist auch möglich, die aktuelle 
            Mausform zu ermitteln. Die dazu nötigen Belegungen der 
            Ein-/Ausgabefelder lauten wie folgt:

             contrl[0] =      111;
             contrl[1] =      0;
             contrl[2] =      0;
             contrl[3] =      0;
             contrl[4] =      37;
             contrl[6] =      handle;
             intout[0..36] =  pcur_form[0..36];