•  Back 
  •  Resource Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filersrc_free()
Resource Library
rsrc_load()                                                             AES

Syntax

WORD rsrc_load( fname )
char *fname;

Function       rsrc_load() loads and allocates memory for the named
               resource file.

Opcode         110 (0x6E)

Availability   All AES versions.

Parameters     fname is a character pointer to a NULL-terminated GEMDOS
               file specification of the resource to load.

Binding        addrin[0] = fname;

               return crys_if(0x6E);

Return Value   rsrc_load() returns 1 if successful or zero if an error
               occurred.

Comments       In addition to loading the resource, all OBJECT coordinates
               are converted from character based coordinates to screen
               coordinates.

See Also       rsrc_free()

Group          Resource Library