home *** CD-ROM | disk | FTP | other *** search
- !GenRes
- -------
- Author: Adrian Lees
- Version: 1.00
- Date: 31 March 1995
- Status: Public Domain (Copy freely, do not sell)
- Desc: Constructs an AOF file containing the resource files
- required by a module/application.
-
- The AOF file can be linked into the image file as usual, and it provides
- a single function 'resources_base' which may be called by the support code.
- The base address of the ResourceFS structure is returned in a1 (R0), and
- may be passed directly to ResourceFS_RegisterFiles. An example is included.
-
- The program takes a command of the form:
-
- genres <dir> -a<appl name> -o <AOF file>
-
- The program will combine all the files in the specified directory
- to form the AOF file. The files will appear in ResourceFS with the
- prefix '$.Resources.<appl name>.'
-
- ALL files within the specified directory will be processed, and if
- subdirectories are present then these will also be processed,
- recursively.
-
- The order of the parameters is unimportant, with the exception that
- the pathname of the AOF file must follow the '-o' switch.
-
- Wimp FrontEnd
- -------------
-
- To use the Wimp frontend you must have a copy of the FrontEnd module
- supplied with the Acorn DDE. The setup dialogue box requests the directory
- that contains the resource files - simply drag the _directory_ to this
- icon. Only one directory may be specified, and it will normally be located
- in the project directory, alongside the 'c', 's', and 'h' directories, etc.
- The second icon requests the application name, which is used as the
- directory name in ResourceFS. The default path of the AOF file produced
- is '...o.resources' and assumes that the source directory is located as
- described above.
-
-
- I can be contacted via email: eee93023@ibm3090.bham.ac.uk
- or post: Adrian Lees
- 7 Russell Drive
- Ampthill
- BEDFORD
- MK45 2UA
- United Kingdom
-
- I have not included the source in this release because most people will
- not need it. If you have any need of/interest in the sources then email
- me and I will send you a copy.
-