home *** CD-ROM | disk | FTP | other *** search
/ Dave Lowe: Amiga Extras 1.3 Amiga Basic 1.2 / Lowe_AmigaExtras1_3AmigaBasic1_2.adf / BasicDemos / AboutBmaps < prev    next >
Encoding:
Text File  |  1988-09-06  |  2.0 KB  |  84 lines

  1. LIST
  2. '
  3. 'BMAPS  ---  C. Scheppner   CBM  02/88
  4. '
  5. '  AmigaBasic requires .bmap files
  6. 'to call system library functions
  7. 'from within an AmigaBasic program.
  8. '
  9. '  The BasicDemos directory contains 
  10. 'exec, dos, and graphics .bmap files
  11. 'which are required by some of the
  12. 'demos in that drawer.  
  13. '
  14. '   The .bmaps were created from
  15. 'some of the FD (function description)
  16. 'files in the FD drawer on this disk.
  17. 'Bmaps for other system libraries can
  18. 'be created with the ConvertFD program
  19. 'in the BasicDemos drawer.
  20. '
  21. '  The names of FD files are
  22. '     libraryname_lib.fd
  23. '  The names of bmaps must be
  24. '     libraryname.bmap
  25. '
  26. '  So, to create additional .bmap
  27. 'files, run the ConvertFD program.
  28. 'For example, to create a layers.bmap:
  29. '
  30. 'When prompted for name of fd file,
  31. 'enter    :FD1.3/layers_lib.fd
  32. 'When prompted for bmap filename
  33. 'enter    layers.bmap
  34. '
  35. '
  36. 'PLACEMENT OF BMAPS
  37. '
  38. '  When you use the LIBRARY statement,
  39. 'AmigaBasic looks for a .bmap file
  40. 'for that library.  It will look in two
  41. 'places for the .bmap:
  42. '
  43. '   1. The libs: directory
  44. '      (Usually the libs directory of the
  45. '      workbench disk you booted with.)
  46. '
  47. '   2. The directory AmigaBasic is
  48. '      cd'd to.
  49. '      When you enter AmigaBasic, this is
  50. '      the directory (drawer) containing
  51. '      the icon you double clicked.
  52. '      You can cd to a different directory
  53. '      with the CHDIR command.
  54. '
  55. '   To run the demos the use bmaps in
  56. 'in the BasicDemos drawer,
  57. 'EITHER doubleclick the demo's icon
  58. 'OR   - doubleclick AmigaBasic
  59. '     - type  CHDIR "df1:BasicDemos" <RETURN>
  60. '         in the Output window
  61. '     - Open the desired demo
  62. '     - Start the demo
  63. '
  64. '
  65. 'CONFLICTING ROUTINES / KEYWORDS
  66. '
  67. '  ConvertFD prepends an 'x' to
  68. 'any Amiga system routine name that
  69. 'conflicts with an AmigaBasic keyword.
  70. '
  71. '  The known conficting routine
  72. 'names can be found in data statements
  73. 'at the end of ConvertFD.
  74. '
  75. '  Using these .bmaps, the conflicting
  76. 'system routines may be declared
  77. 'and called by prepending an 'x' to
  78. 'the routine name. (ex. xRead)
  79. 'All other system routines are
  80. 'declared/called by their original
  81. 'names.
  82. '
  83.  
  84.