libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
profile_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

Detailed Description

Definition at line 46 of file lisa_tag.h.

Field Documentation

◆ abs_page

uint32_t profile_tag::abs_page

0x08, 3 bytes, absolute page number

Definition at line 55 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), and profile_tag_to_priam().

◆ checksum

uint8_t profile_tag::checksum

0x0B, checksum of data

Definition at line 56 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), and profile_tag_to_priam().

◆ file_id

int16_t profile_tag::file_id

◆ kind

uint8_t profile_tag::kind

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

Definition at line 49 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), profile_tag_to_priam(), profile_tag_to_sony(), and sony_tag_to_profile().

◆ next_block

uint32_t profile_tag::next_block

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

Definition at line 58 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), profile_tag_to_priam(), profile_tag_to_sony(), and sony_tag_to_profile().

◆ prev_block

uint32_t profile_tag::prev_block

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

Definition at line 59 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), profile_tag_to_priam(), profile_tag_to_sony(), and sony_tag_to_profile().

◆ rel_page

uint16_t profile_tag::rel_page

◆ reserved

uint8_t profile_tag::reserved

◆ used_bytes

uint16_t profile_tag::used_bytes

0x06 bits 6 to 0, used bytes in block

Definition at line 54 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), and profile_tag_to_priam().

◆ valid_chk

uint8_t profile_tag::valid_chk

0x06 bit 7, checksum valid?

Definition at line 53 of file lisa_tag.h.

Referenced by bytes_to_profile_tag(), priam_tag_to_profile(), profile_tag_to_bytes(), and profile_tag_to_priam().

◆ version

uint16_t profile_tag::version

◆ volume

uint8_t profile_tag::volume

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