Format of CR-ROM control block |
| Offset | Size | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
00h |
BYTE |
function code
|
||||||||||||||||||
|
---functions 00h, 02h, 05h--- |
||||||||||||||||||||
|
no further fields |
||||||||||||||||||||
|
---function 01h--- |
||||||||||||||||||||
|
01h |
BYTE |
lock function
|
||||||||||||||||||
|
---function 03h--- |
||||||||||||||||||||
|
01h |
BYTE |
input channel (0-3) for output channel 0 | ||||||||||||||||||
|
02h |
BYTE |
volume for output channel 0 | ||||||||||||||||||
|
03h |
BYTE |
input channel (0-3) for output channel 1 | ||||||||||||||||||
|
04h |
BYTE |
volume for output channel 1 | ||||||||||||||||||
|
05h |
BYTE |
input channel (0-3) for output channel 2 | ||||||||||||||||||
|
06h |
BYTE |
volume for output channel 2 | ||||||||||||||||||
|
07h |
BYTE |
input channel (0-3) for output channel 3 | ||||||||||||||||||
|
08h |
BYTE |
volume for output channel 3 | ||||||||||||||||||
|
---function 04h--- |
||||||||||||||||||||
|
01h |
N BYTEs |
bytes to send directly to the CD-ROM drive without interpretation | ||||||||||||||||||
|
Note: |
(function 03h) output channels 0 and 1 are left and right, 2 and 3 are left prime and right prime; a volume of 00h is off. |