home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / m / musicbase / !MusicBase / Info < prev    next >
Text File  |  1997-06-01  |  2KB  |  112 lines

  1. Music Base programmers info by Chris Davis
  2. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  3.  
  4. This file contains information for programmers who may wish to write programs
  5. to work in conjuction with Music Base.
  6.  
  7. Music Base messages:
  8. ===================
  9.  
  10. This Music Base messages allow player tasks to find out information on a CD.
  11.  
  12. Music base message code : &BF100
  13.  
  14. ------------------------------------------
  15.  
  16. MusicBase_Starting
  17.  
  18. +20    0
  19.  
  20. This message is sent when Music Base first starts (so that a task may request
  21. info).
  22.  
  23. ------------------------------------------
  24.  
  25. MusicBase_RequestInfo
  26.  
  27. +20    1
  28. +24    Media type
  29. +28    Unique ID
  30. +32    Track (0 for none)
  31.  
  32. This message is sent by a task needing info on a CD (or other media). It
  33. should not expect a response but be able to handle one if it gets one.
  34.  
  35. ------------------------------------------
  36.  
  37. MusicBase_RequestResult
  38.  
  39. +20    2
  40. +24    Media type
  41. +28    Unique ID
  42. +32    Track (0 for none)
  43. +36    Null terminated title
  44.        Null terminated author
  45.        
  46.        The following information may not be present (see +32)
  47.        
  48.        Null terminated track title
  49.        Null terminated track author
  50.  
  51. This is usually sent in response to a MusicBase_RequestInfo message.
  52.  
  53. ------------------------------------------
  54.  
  55. MusicBase_Match
  56.  
  57. +20    3
  58. +24    Media type
  59. +28    Control block
  60.  
  61. This is sent by a task to tell Music Base to read in info off a disk and
  62. store it with the current entry and part. Currently the only media type
  63. supported is CD (0), for which the control block should be the 5 word CDFS
  64. control block.
  65.  
  66. ------------------------------------------
  67.  
  68. MusicBase_Create
  69.  
  70. +20    4
  71. +24    Media type
  72. +28    Control block
  73.  
  74. This is sent by a task to tell Music Base to read in info off a disk and
  75. store it in a new entry and part. Currently the only media type
  76. supported is CD (0), for which the control block should be the 5 word CDFS
  77. control block.
  78.  
  79. ------------------------------------------
  80.  
  81. MusicBase_RecommendRequest
  82.  
  83. +20    5
  84.  
  85. This is sent by Music Base when any details have changed in the database
  86. (suggesting a task should re-request it's details).
  87.  
  88. ------------------------------------------
  89.  
  90. Current media types:
  91. ===================
  92.  
  93.     0 - CD
  94.     1 - Tape
  95.     2 - LP
  96.     3 - 12" Single
  97.     4 - 7" Single
  98.     5 - 3" CD Single
  99.     6 - DAT
  100.     7 - Mini Disc
  101.     
  102. The Unique ID for CD's is the Red Book CD length.
  103.  
  104. Contacting me:
  105. =============
  106.  
  107. Address mail to Chris Davis..
  108.  
  109. e-mail address's..
  110.  
  111. Internet : christsi@central.susx.ac.uk
  112.