•  Back 
  •  objc_change 
  •  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-File8.16.2.1  Bindings für objc_change                                 TOS

 C:          int16_t objc_change ( OBJECT *ob_ctree, int16_t 
             ob_cobject, int16_t ob_cresvd, int16_t ob_cxclip, int16_t 
             ob_cyclip, int16_t ob_cwclip, int16_t ob_chclip, int16_t 
             ob_cnewstate, int16_t ob_credraw );

 Umsetzung:

             int16_t objc_change (OBJECT *ob_ctree, int16_t ob_cobject,
                                  int16_t ob_cresvd, int16_t ob_cxclip,
                                  int16_t ob_cyclip, int16_t ob_cwclip,
                                  int16_t ob_chclip, int16_t ob_cnewstate,
                                  int16_t ob_credraw)
             {
                int_in[0]  = ob_cobject;
                int_in[1]  = ob_cresvd;
                int_in[2]  = ob_cxclip;
                int_in[3]  = ob_cyclip;
                int_in[4]  = ob_cwclip;
                int_in[5]  = ob_chclip;
                int_in[6]  = ob_cnewstate;
                int_in[7]  = ob_credraw;
 
                addr_in[0] = ob_ctree;
 
                return ( crys_if(47) );
             }

 GEM-Arrays:

              Adresse    Feldelement  Belegung 
              control    control[0]   47    # Opcode der Funktion 
              control+2  control[1]   8     # Einträge in int_in 
              control+4  control[2]   1     # Einträge in int_out 
              control+6  control[3]   1     # Einträge in addr_in 
              control+8  control[4]   0     # Einträge in addr_out 
              int_in     int_in[0]    ob_cobject 
              int_in+2   int_in[1]    ob_cresvd 
              int_in+4   int_in[2]    ob_cxclip 
              int_in+6   int_in[3]    ob_cyclip 
              int_in+8   int_in[4]    ob_cwclip 
              int_in+10  int_in[5]    ob_chclip 
              int_in+12  int_in[6]    ob_cnewstate 
              int_in+14  int_in[7]    ob_credraw 
              addr_in    addr_in[0]   ob_ctree 
              int_out    int_out[0]   Return-Wert