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

 C:          int16_t fslx_evnt ( void *fsd, EVNT *events, int8_t 
             *path, int8_t *fname, int16_t *button, int16_t *nfiles, 
             int16_t *sort_mode, int8_t **pattern );

 Umsetzung:

             int16_t fslx_evnt ( void *fsd, EVNT *events, int8_t *path,
                                 int8_t *fname, int16_t *button, int16_t *nfiles,
                                 int16_t *sort_mode, int8_t **pattern )
             {
                addr_in[0] = fsd;
                addr_in[1] = events;
                addr_in[2] = path;
                addr_in[3] = fname;
 
                crys_if (193);
 
                *button    = int_out[1];
                *nfiles    = int_out[2];
                *sort_mode = int_out[3];
                *pattern   = addr_out[0];
 
                return ( int_out[0] );
             }

 GEM-Arrays:

              Adresse     Feldelement  Belegung 
              control     control[0]   193   # Opcode der Funktion 
              control+2   control[1]   0     # Einträge in int_in 
              control+4   control[2]   4     # Einträge in int_out 
              control+6   control[3]   4     # Einträge in addr_in 
              control+8   control[4]   1     # Einträge in addr_out 
              addr_in     addr_in[0]   fsd 
              addr_in+4   addr_in[1]   events 
              addr_in+8   addr_in[2]   path 
              addr_in+12  addr_in[3]   fname 
              addr_out    addr_out[0]  pattern 
              int_out     int_out[0]   Return-Wert 
              int_out+2   int_out[1]   button 
              int_out+4   int_out[2]   nfiles 
              int_out+6   int_out[3]   sort_mode