home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsc / computils / !CompUtils / Resources / ExpCode / asm / h / Universal
Encoding:
Text File  |  1995-07-31  |  874 b   |  38 lines

  1. ; Import the variable giving the base address of the code
  2.  
  3.         IMPORT  ExpCode
  4.  
  5. ; Import the addresses of the two machine code routines
  6. ; eg. BL ExpCode_InitCode
  7.  
  8.         IMPORT  ExpCode_InitCode
  9.         IMPORT  ExpCode_ProcessCode
  10.  
  11. ; Define names for offsets into the header.
  12.  
  13. ExpCode_SampleType    *    8
  14. ExpCode_SrcBufferPtr    *    12
  15. ExpCode_SrcLength    *    16
  16. ExpCode_DestBufferPtr    *    20
  17. ExpCode_DestLength    *    24
  18. ExpCode_FilenamePtr    *    28
  19. ExpCode_SamplePeriod    *    32
  20. ExpCode_OutputFlags    *    36
  21. ExpCode_SampleLength    *    40
  22. ExpCode_DataOffset    *    44
  23.  
  24. ; Note that unlike the object code for the Compress modules only one
  25. ; ExpCode module may be linked with the output, so choose wisely.
  26.  
  27. ; Output flags for this version
  28.  
  29. OUTPUT_LINEAR    *    (1<<0)
  30. OUTPUT_ENHANCE    *    (1<<1)
  31. OUTPUT_16BIT    *    (1<<2)
  32. USING_16BIT    *    (1<<28)
  33. USING_ENHANCE   *    (1<<29)
  34. FILE_IS_LINEAR  *    (1<<30)
  35. FILE_IS_16BIT    *    (1<<31)
  36.  
  37.     END
  38.