home *** CD-ROM | disk | FTP | other *** search
- Music Base programmers info by Chris Davis
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
- This file contains information for programmers who may wish to write programs
- to work in conjuction with Music Base.
-
- Music Base messages:
- ===================
-
- This Music Base messages allow player tasks to find out information on a CD.
-
- Music base message code : &BF100
-
- ------------------------------------------
-
- MusicBase_Starting
-
- +20 0
-
- This message is sent when Music Base first starts (so that a task may request
- info).
-
- ------------------------------------------
-
- MusicBase_RequestInfo
-
- +20 1
- +24 Media type
- +28 Unique ID
- +32 Track (0 for none)
-
- This message is sent by a task needing info on a CD (or other media). It
- should not expect a response but be able to handle one if it gets one.
-
- ------------------------------------------
-
- MusicBase_RequestResult
-
- +20 2
- +24 Media type
- +28 Unique ID
- +32 Track (0 for none)
- +36 Null terminated title
- Null terminated author
-
- The following information may not be present (see +32)
-
- Null terminated track title
- Null terminated track author
-
- This is usually sent in response to a MusicBase_RequestInfo message.
-
- ------------------------------------------
-
- MusicBase_Match
-
- +20 3
- +24 Media type
- +28 Control block
-
- This is sent by a task to tell Music Base to read in info off a disk and
- store it with the current entry and part. Currently the only media type
- supported is CD (0), for which the control block should be the 5 word CDFS
- control block.
-
- ------------------------------------------
-
- MusicBase_Create
-
- +20 4
- +24 Media type
- +28 Control block
-
- This is sent by a task to tell Music Base to read in info off a disk and
- store it in a new entry and part. Currently the only media type
- supported is CD (0), for which the control block should be the 5 word CDFS
- control block.
-
- ------------------------------------------
-
- MusicBase_RecommendRequest
-
- +20 5
-
- This is sent by Music Base when any details have changed in the database
- (suggesting a task should re-request it's details).
-
- ------------------------------------------
-
- Current media types:
- ===================
-
- 0 - CD
- 1 - Tape
- 2 - LP
- 3 - 12" Single
- 4 - 7" Single
- 5 - 3" CD Single
- 6 - DAT
- 7 - Mini Disc
-
- The Unique ID for CD's is the Red Book CD length.
-
- Contacting me:
- =============
-
- Address mail to Chris Davis..
-
- e-mail address's..
-
- Internet : christsi@central.susx.ac.uk
-