home *** CD-ROM | disk | FTP | other *** search
-
-
- FD to BMAP converter
-
-
-
- Function Description files are the standard
- method of detailing function calls, procedures
- and parameter passing for an Amiga¨ library,
- device or resource. They are supplied by
- Commodore for the operating system and by
- software houses for third-party extension
- libraries.
- Historically AmigaBASIC used a different format
- of file, the .bmap file which contains similar
- information to that in the .fd file but in a
- binary rather than ASCII format.
- To allow you to call Amiga¨ libraries other
- than the operating system ones directly
- supported by MaxonBASIC, we include a ´FD to
- BMAP´ conversion utility. What this does is to
- generate a .bmap file which allows you to call
- all of the library functions. In order to use
- it you must first obtain an FD file for the
- relevant library, e.g. midi_lib.fd.
- Note that this conversion does not generate any
- DECLARE statements for the routines in the
- library since this information does not exist
- within the FD file.
- As with the Operating System, your program must
- first open the library using LIBRARY OPEN.
-
-
- Usage
-
- FDtoBMAP can either be run from the command
- line or from the Workbench. If it is run from
- the Workbench then you will be prompted to
- enter the full name of the .fd file being read
- and the .bmap file being created.
- The command line syntax accepted by FDToBMAP is
- simply:
-
- FDToBmap <input_lib.fd> [<output.bmap>]
- By default, the generated BMAP file has the
- same name as the FD file (with the _lib.fd
- extension removed and .bmap added) although you
- may wish to over-ride this with the optional
- output name parameter.
- For example, to convert the req.library FD file
- you might use:
-
- FDToBmap req_lib.fd
- or, if you wish to add directory
- specifications:
-
- FDToBmap DF0:fd/req_lib.fd bmap:req.bmap
-
-