Macros used to access the TOC
More...
|
#define | TOC_LBA(n) |
| Get the FAD address of a TOC entry.
|
|
#define | TOC_ADR(n) |
| Get the address of a TOC entry.
|
|
#define | TOC_CTRL(n) |
| Get the control data of a TOC entry.
|
|
#define | TOC_TRACK(n) |
| Get the track number of a TOC entry.
|
|
Macros used to access the TOC
◆ TOC_ADR
Value:( ((n) & 0x0f000000) >> 24 )
Get the address of a TOC entry.
- Parameters
-
n | The entry from the TOC to look at. |
- Returns
- The entry's address.
◆ TOC_CTRL
Value:( ((n) & 0xf0000000) >> 28 )
Get the control data of a TOC entry.
- Parameters
-
n | The entry from the TOC to look at. |
- Returns
- The entry's control value.
◆ TOC_LBA
Value:
Get the FAD address of a TOC entry.
- Parameters
-
n | The actual entry from the TOC to look at. |
- Returns
- The FAD of the entry.
◆ TOC_TRACK
Value:( ((n) & 0x00ff0000) >> 16 )
Get the track number of a TOC entry.
- Parameters
-
n | The entry from the TOC to look at. |
- Returns
- The entry's track.