•  Back 
  •  Superior attributes 
  •  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.4.6.84  Bindings for vst_setsize                                 TOS

 C:          int16_t vst_setsize ( int16_t handle, int16_t point, 
             int16_t *chwd, int16_t *chht, int16_t *cellwd, int16_t 
             *cellht );

 Binding:

             int16_t vst_setsize (int16_t handle, int16_t point,
                                  int16_t *chwd, int16_t *chht,
                                  int16_t *cellwd, int16_t *cellht)
             {
                intin[0] = point;
 
                contrl[0] = 252;
                contrl[1] = 0;
                contrl[3] = 1;
                contrl[6] = handle;
 
                vdi ();
 
                *chwd   = ptsout[0];
                *chht   = ptsout[1];
                *cellwd = ptsout[2];
                *cellht = ptsout[3];
 
                return ( intout[0] );
             }

 GEM-Arrays:

              Address    Element    Contents 
              contrl     contrl[0]  252   # Function Opcode 
              contrl+2   contrl[1]  0     # entry in ptsin 
              contrl+4   contrl[2]  2     # entry in ptsout 
              contrl+6   contrl[3]  1     # entry in intin 
              contrl+8   contrl[4]  1     # entry in intout 
              contrl+12  contrl[6]  handle 
              intin      intin[0]   point 
              intout     intout[0]  Return value 
              ptsout     ptsout[0]  chwd 
              ptsout+2   ptsout[1]  chht 
              ptsout+4   ptsout[2]  cellwd 
              ptsout+6   ptsout[3]  cellht