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:
#define FIELD_GET(var, field)
Extract a field value from a variable.
Definition regfield.h:43
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:
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:
Get the track number of a TOC entry.
- Parameters
-
| n | The entry from the TOC to look at. |
- Returns
- The entry's track.