•  Back 
  •  Resource library 
  •  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-File8.17.6  rsrc_saddr                                                 TOS

 Name:         Resource store address« - Store address of an object.

 Opcode:       113

 Syntax:       int16_t rsrc_saddr ( int16_t re_stype, int16_t 
               re_sindex, void *saddr );

 Description:  The call rsrc_saddr stores the start address of a data 
               structure in memory. The following apply:

                Parameter  Meaning

                re_stype   Type of structure:
                            R_TREE       0   =  Object tree 
                            R_OBJECT     1   =  Individual OBJECT 
                            R_TEDINFO    2   =  TEDINFO structure 
                            R_ICONBLK    3   =  ICONBLK structure 
                            R_BITBLK     4   =  BITBLK structure 
                            R_STRING     5   =  Free string data 
                            R_IMAGEDATA  6   =  Free image data 
                            R_OBSPEC     7   =  ob_spec field in OBJECT 
                            R_TEPTEXT    8   =  te_ptext in TEDINFO 
                            R_TEPTMPLT   9   =  te_ptmplt in TEDINFO 
                            R_TEPVALID   10  =  te_pvalid in TEDINFO 
                            R_IBPMASK    11  =  ib_pmask in ICONBLK 
                            R_IBPDATA    12  =  ib_pdata in ICONBLK 
                            R_IBPTEXT    13  =  ib_ptext in ICONBLK 
                            R_BIPDATA    14  =  ib_pdata in BITBLK 
                            R_FRSTR      15  =  ad_frstr free string 
                            R_FRIMG      16  =  ad_frimg free image 

                re_sindex  Position within the data structure
                saddr      Address to be saved in data structure

 Return value: An error has arisen only if the value 0 is returned.

 Availability: All AES versions.

 Group:        Resource library

 See Also:     Binding   rsrc_gaddr   OBJECT