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

Directory layout. More...

#include <lifutils.h>

Data Fields

uint8_t filename [10+1]
 
uint16_t FileType
 
uint32_t FileStartSector
 
uint32_t FileSectors
 
uint8_t date [6]
 
uint16_t VolNumber
 
uint16_t FileBytes
 
uint16_t SectorSize
 

Detailed Description

Directory layout.

See also
https://groups.io/g/hpseries80/wiki/HP-85-Program-Control-Block-(BASIC-header),-Tape-directory-layout,-Disk-directory-layout

Each DIRECTORY SECTORS held 8 32-byte directory entries. Each entry contained these values:

BYTE DESCRIPTION


0-9 10-character file name (blank filled) 10-11 File TYPE MSB first 12-15 Start of file in sectors MSB first 16-19 File length in sectors MSB first 20-25 file creation DATE YY,MM,DD,HH,MM,SS 26-27 always 0x8001 entire file is on volume MSB first 28-29 size of file in bytes MSB first May be 0 use for some file types so use number of sectors instead 30-31 bytes per record, typically 256 Note: bytes 28-31 are implementation dependent i.e. non-Series-80 systems may write other information into these bytes.

LIF directory entry

Definition at line 97 of file lifutils.h.

Field Documentation

◆ date

uint8_t lifdir_t::date[6]

◆ FileBytes

uint16_t lifdir_t::FileBytes

◆ filename

uint8_t lifdir_t::filename[10+1]

◆ FileSectors

uint32_t lifdir_t::FileSectors

◆ FileStartSector

uint32_t lifdir_t::FileStartSector

◆ FileType

uint16_t lifdir_t::FileType

◆ SectorSize

uint16_t lifdir_t::SectorSize

◆ VolNumber

uint16_t lifdir_t::VolNumber

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