home *** CD-ROM | disk | FTP | other *** search
/ Amiga Computing 57 / ac057a.adf / Demos / hbasm.i < prev    next >
Text File  |  1989-06-29  |  766b  |  44 lines

  1.     IFND    HISOFTBASIC_LIB_I
  2. HISOFTBASIC_LIB_I    set    1
  3. **
  4. **    Library interface offsets for HiSoft BASIC library 
  5. **
  6. **    (C) Copyright 1989 HiSoft
  7. **        All Rights Reserved
  8. **
  9.  
  10. ** (this file assumes a standard syntax assembler. If your
  11. **  assembler can't cope with conditional macro definitions
  12. **  you may have to modify this file)
  13.  
  14.  
  15. ** for use with linked libraries, set the symbol HBLIB before
  16. ** including this file
  17.  
  18.     IFD    HBLIB
  19. * these constants are guaranteed for Version 2 of the library
  20. _LVOget_array    equ    -$24
  21. _LVOget_string    equ    -$2a
  22. _LVOmake_string    equ    -$30
  23. _LVOsafe_malloc    equ    -$60
  24. _LVOsafe_free    equ    -$66
  25.  
  26. CALLBAS    macro
  27.     jsr    _LVO\1(a3)
  28.     endm
  29.  
  30.     ENDC
  31.  
  32. * non-shared code uses these
  33.     IFND    HBLIB
  34.  
  35. CALLBAS    macro
  36.     xref    \1
  37.     jsr    \1
  38.     endm
  39.  
  40.     ENDC
  41.  
  42.     ENDC ; HISOFTBASIC_LIB.I
  43.  
  44.