HP85 GPIB Disk Emulator  1.0
HP85GPIBDiskEmulator
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
sector_t Struct Reference

Sector information and Sector "ID". More...

#include <td02lif.h>

Data Fields

int cylinder
 
int side
 
int sector
 
int size
 
uint8_t * data
 

Detailed Description

Sector information and Sector "ID".

Disk Terminology: (From the original disk - not the TeleDisk encoding) A "Disk" includes "Formatting" overhead, "sectors" ("Data") grouped in a concentry circle ("Track") on all surfaces ("Cylinder") as a "Disk" (all cylinders)

A "Sector" contains the "Data" - each "Sector" is preceeded by formatting overhead called the "ID" field. The "Formatting" - is the invisible overhead such as the sector "ID" preceeding every sector. The "ID" field contains Cylinder, Side, Sector number, Sector Size and a CRC checksum The "Data" part of the sector follows after the "ID" field. The "Data has its own formatting CRC checksum A "Track" is a group of "Sectors" in one such circle on just one surface. A "Cylinder" is this "Track" but now including all "Surfaces" A "Disk" is the collection of all "Cylinders"

Note: The values Cylinder,Side and Sectors Number - these need NOT match Physical values!; The lowest sector number usually start with 0 or 1 on side 1 and side 2 Many disks repeat the same sector numbering on each side, However; Some disks continue numbering sectors AFTER the last one on side 1 Frequently Sectors numbering can be interleaved, like 0 4 8 1 5 9 ... The Side and Cylinder Number usually match physical values on "normal" disks.

Definition at line 193 of file td02lif.h.

Field Documentation

◆ cylinder

int sector_t::cylinder

Definition at line 195 of file td02lif.h.

Referenced by td0_analize_format(), td0_init_sectors(), td0_read_disk(), and td0_trackinfo().

◆ data

uint8_t* sector_t::data

Definition at line 199 of file td02lif.h.

Referenced by td0_analize_format(), td0_init_sectors(), td0_read_disk(), and td0_save_lif().

◆ sector

int sector_t::sector

◆ side

int sector_t::side

Definition at line 196 of file td02lif.h.

Referenced by td0_analize_format(), td0_init_sectors(), td0_read_disk(), and td0_trackinfo().

◆ size

int sector_t::size

Definition at line 198 of file td02lif.h.

Referenced by td0_analize_format(), td0_init_sectors(), td0_read_disk(), and td0_trackinfo().


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