Loading...
Searching...
No Matches
priam_tag Struct Reference

`#include <aaruformat/structs/lisa_tag.h>`

## Data Fields

uint16_t | version
| 0x00, Lisa OS version number
uint8_t | kind: 2
| 0x02 bits 7 to 6, kind of info in this block
uint8_t | reserved: 6
| 0x02 bits 5 to 0, reserved
uint8_t | volume
| 0x03, disk volume number
int16_t | file_id
| 0x04, file ID
uint8_t | valid_chk: 1
| 0x06 bit 7, checksum valid?
uint16_t | used_bytes: 15
| 0x06 bits 6 to 0, used bytes in block
uint32_t | abs_page
| 0x08, 3 bytes, absolute page number
uint8_t | checksum
| 0x0B, checksum of data
uint16_t | rel_page
| 0x0C, relative page number
uint32_t | next_block
| 0x0E, 3 bytes, next block, 0xFFFFFF if it's last block
uint32_t | prev_block
| 0x11, 3 bytes, previous block, 0xFFFFFF if it's first block
uint32_t | disk_size
| 0x14, disk size

## Detailed Description

Definition at line 62 of file lisa_tag.h.

## Field Documentation

## abs_page

uint32_t priam_tag::abs_page

0x08, 3 bytes, absolute page number

Definition at line 71 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), and profile_tag_to_priam().

## checksum

uint8_t priam_tag::checksum

0x0B, checksum of data

Definition at line 72 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), and profile_tag_to_priam().

## disk_size

uint32_t priam_tag::disk_size

0x14, disk size

Definition at line 76 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), and priam_tag_to_bytes().

## file_id

int16_t priam_tag::file_id

0x04, file ID

Definition at line 68 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## kind

uint8_t priam_tag::kind

0x02 bits 7 to 6, kind of info in this block

Definition at line 65 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## next_block

uint32_t priam_tag::next_block

0x0E, 3 bytes, next block, 0xFFFFFF if it's last block

Definition at line 74 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## prev_block

uint32_t priam_tag::prev_block

0x11, 3 bytes, previous block, 0xFFFFFF if it's first block

Definition at line 75 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## rel_page

uint16_t priam_tag::rel_page

0x0C, relative page number

Definition at line 73 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## reserved

uint8_t priam_tag::reserved

0x02 bits 5 to 0, reserved

Definition at line 66 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## used_bytes

uint16_t priam_tag::used_bytes

0x06 bits 6 to 0, used bytes in block

Definition at line 70 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), and profile_tag_to_priam().

## valid_chk

uint8_t priam_tag::valid_chk

0x06 bit 7, checksum valid?

Definition at line 69 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), and profile_tag_to_priam().

## version

uint16_t priam_tag::version

0x00, Lisa OS version number

Definition at line 64 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

## volume

uint8_t priam_tag::volume

0x03, disk volume number

Definition at line 67 of file lisa_tag.h.

Referenced by bytes_to_priam_tag(), priam_tag_to_bytes(), priam_tag_to_profile(), priam_tag_to_sony(), profile_tag_to_priam(), and sony_tag_to_priam().

The documentation for this struct was generated from the following file:

- include/aaruformat/structs/lisa_tag.h