•  Back 
  •  graf_dragbox 
  •  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.12.1.1  Bindings für graf_dragbox                                TOS

 C:          int16_t graf_dragbox ( int16_t gr_dwidth, int16_t 
             gr_dheight, int16_t gr_dstartx, int16_t gr_dstarty, 
             int16_t gr_dboundx, int16_t gr_dboundy, int16_t 
             gr_dboundw, int16_t gr_dboundh, int16_t *gr_dfinishx, 
             int16_t *gr_dfinishy );

 Umsetzung:

             int16_t graf_dragbox (int16_t gr_dwidth, int16_t gr_dheight,
                                   int16_t gr_dstartx, int16_t gr_dstarty,
                                   int16_t gr_dboundx, int16_t gr_dboundy,
                                   int16_t gr_dboundw, int16_t gr_dboundh,
                                   int16_t *gr_dfinishx, int16_t *gr_dfinishy)
             {
                int_in[0] = gr_dwidth;
                int_in[1] = gr_dheight;
                int_in[2] = gr_dstartx;
                int_in[3] = gr_dstarty;
                int_in[4] = gr_dboundx;
                int_in[5] = gr_dboundy;
                int_in[6] = gr_dboundw;
                int_in[7] = gr_dboundh;
 
                crys_if (71);
 
                *gr_dfinishx = int_out[1];
                *gr_dfinishy = int_out[2];
 
                return ( int_out[0] );
             }

 GEM-Arrays:

              Adresse    Feldelement  Belegung 
              control    control[0]   71    # Opcode der Funktion 
              control+2  control[1]   8     # Einträge in int_in 
              control+4  control[2]   3     # Einträge in int_out 
              control+6  control[3]   0     # Einträge in addr_in 
              control+8  control[4]   0     # Einträge in addr_out 
              int_in     int_in[0]    gr_dwidth 
              int_in+2   int_in[1]    gr_dheight 
              int_in+4   int_in[2]    gr_dstartx 
              int_in+6   int_in[3]    gr_dstarty 
              int_in+8   int_in[4]    gr_dboundx 
              int_in+10  int_in[5]    gr_dboundy 
              int_in+12  int_in[6]    gr_dboundw 
              int_in+14  int_in[7]    gr_dboundh 
              int_out    int_out[0]   Return-Wert 
              int_out+2  int_out[1]   gr_dfinishx 
              int_out+4  int_out[2]   gr_dfinishy