home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / misc / psy_kit.zip / PLAYER.INC < prev    next >
Text File  |  1993-08-31  |  2KB  |  91 lines

  1. ; Psychose'Player : Include-File.
  2. ; Psychose'Player was coded by LCA of Psychose Inc.
  3.  
  4. Extrn        InitPlayer    : FAR
  5. ;        CALL    : AX = Playing-Rate (Maximum is 22000 Hz)
  6. ;        RETURN    : Nothing
  7.  
  8. Extrn        EndPlayer    : FAR
  9. ;        Parameters: Nothing
  10.  
  11. Extrn        LoadModule    : FAR
  12. ;        CALL    : DS:DX : Offset of an ASCIIZ String corresponding to
  13. ;the name of the module to load (and of course to play!!)
  14. ;        RETURN    : Carry=0 : Ok : No error
  15. ;              Carry=1 : Arg!! ERROR!!!!
  16.  
  17. Extrn        EraseModule    : FAR
  18. ;        Parameters: Nothing
  19.  
  20. Extrn        ConvertModule    : FAR
  21. ;        CALL    : GS:ESI = 32 bits offset of the module in memory
  22. ;              CX=Size in Kilo-Byte of the .MOD File.
  23. ;        RETURN    : Carry=0 : Ok
  24. ;              carry=1 : ERROR!! (Not Enough Memory!!)
  25.  
  26. Extrn        InfoSoundBlaster: FAR
  27. ;        CALL    : Nothing
  28. ;        RETURN    : AL=Sound-Card (see the constants below)
  29. ;              AH=IRQ number
  30. ;              DX=I/O Port
  31.  
  32. Extrn        StartPlaying    : FAR
  33. ;        CALL    : AL=Playing-Mode
  34. ;              If AL=Mode_2, then BX=Calling Rate
  35. ;        RETURN    : Nothing
  36.  
  37. Extrn        StopPlaying    : FAR
  38. ;        Parameters    : Nothing
  39.  
  40. Extrn        MusicMode    : FAR
  41. ;        CALL    : AL=Playing-Mode
  42. ;              If AL=Mode_2 then BX=Calling-Rate
  43. ;        RETURN    : Nothing
  44.  
  45. Extrn        HandleMusic0    : FAR
  46. ;        Parameters    : Nothing
  47.  
  48. Extrn        HandleMusic2    : FAR
  49. ;        Parameters    : Nothing
  50.  
  51. Extrn        HandleMusic3    : FAR
  52. ;        Parameters    : Nothing
  53.  
  54. Extrn        SetPosition    : FAR
  55. ;        CALL    : AL = Pattern_Index
  56. ;              AH = Beat_Index
  57. ;        RETURN    : Nothing
  58.  
  59.  
  60.  
  61. Extrn        Max_Volume    : BYTE
  62. Extrn        Beat_Index    : BYTE
  63. Extrn        Pattern_Index    : BYTE
  64. Extrn        Num_Voices    : BYTE
  65. Extrn        PTR_Voice_Info    : DWORD
  66. Extrn        Voice_Info    : BYTE
  67. Extrn        SongLength    : BYTE
  68. Extrn        Restart        : BYTE
  69.  
  70.  
  71. Struc_Voice_Info    STRUC
  72.   Off_InstrInfo        dd ?
  73.   OffsetDigit        dd ?
  74.   Instrument        db ?
  75.   InstrVolume        db ?
  76.   VmVolume        db ?
  77.   InstrFineTune        db ?
  78.   Arp_Counter        db ?
  79.   QueDalle        db ?
  80.   Rate            dw ?
  81.   Corrector        dd ?
  82.   CorrectorVal        dd ?
  83.   EffectCommand        dw ?
  84.   SauveRate        dw ?
  85. Struc_Voice_Info    ENDS
  86.  
  87. No_SB        = 0
  88. SB_Mono        = 1
  89. SB_Stereo    = 2
  90.  
  91. ; Bye!!