openMSX
Public Attributes | List of all members
openmsx::MSXBootSector Struct Reference

#include <DiskImageUtils.hh>

Collaboration diagram for openmsx::MSXBootSector:
Collaboration graph
[legend]

Public Attributes

std::array< uint8_t, 3 > jumpCode
 
std::array< uint8_t, 8 > name
 
Endian::UA_L16 bpSector
 
uint8_t spCluster
 
Endian::L16 resvSectors
 
uint8_t nrFats
 
Endian::UA_L16 dirEntries
 
Endian::UA_L16 nrSectors
 
uint8_t descriptor
 
Endian::L16 sectorsFat
 
Endian::L16 sectorsTrack
 
Endian::L16 nrSides
 
union { 
 
   struct { 
 
      Endian::L16   hiddenSectors 
 
      std::array< uint8_t, 512-30 >   pad 
 
   }   dos1 
 
   struct { 
 
      Endian::L16   hiddenSectors 
 
      std::array< uint8_t, 9 >   pad1 
 
      Endian::UA_L32   vol_id 
 
      std::array< uint8_t, 512-43 >   pad2 
 
   }   dos2 
 
   struct { 
 
      Endian::L32   hiddenSectors 
 
      Endian::L32   nrSectors 
 
      uint8_t   physicalDriveNum 
 
      uint8_t   reserved 
 
      uint8_t   extendedBootSignature 
 
      Endian::UA_L32   vol_id 
 
      std::array< uint8_t, 11 >   volumeLabel 
 
      std::array< uint8_t, 8 >   fileSystemType 
 
      std::array< uint8_t, 512-62 >   padding 
 
   }   extended 
 
params 
 

Detailed Description

Definition at line 23 of file DiskImageUtils.hh.

Member Data Documentation

◆ bpSector

Endian::UA_L16 openmsx::MSXBootSector::bpSector

Definition at line 26 of file DiskImageUtils.hh.

◆ descriptor

uint8_t openmsx::MSXBootSector::descriptor

Definition at line 32 of file DiskImageUtils.hh.

◆ dirEntries

Endian::UA_L16 openmsx::MSXBootSector::dirEntries

Definition at line 30 of file DiskImageUtils.hh.

◆ [struct]

struct { ... } openmsx::MSXBootSector::dos1

◆ [struct]

struct { ... } openmsx::MSXBootSector::dos2

◆ [struct]

struct { ... } openmsx::MSXBootSector::extended

◆ extendedBootSignature

uint8_t openmsx::MSXBootSector::extendedBootSignature

Definition at line 52 of file DiskImageUtils.hh.

◆ fileSystemType

std::array<uint8_t, 8> openmsx::MSXBootSector::fileSystemType

Definition at line 55 of file DiskImageUtils.hh.

◆ hiddenSectors [1/2]

Endian::L16 openmsx::MSXBootSector::hiddenSectors

Definition at line 38 of file DiskImageUtils.hh.

◆ hiddenSectors [2/2]

Endian::L32 openmsx::MSXBootSector::hiddenSectors

Definition at line 48 of file DiskImageUtils.hh.

◆ jumpCode

std::array<uint8_t, 3> openmsx::MSXBootSector::jumpCode

Definition at line 24 of file DiskImageUtils.hh.

◆ name

std::array<uint8_t, 8> openmsx::MSXBootSector::name

Definition at line 25 of file DiskImageUtils.hh.

◆ nrFats

uint8_t openmsx::MSXBootSector::nrFats

Definition at line 29 of file DiskImageUtils.hh.

◆ nrSectors [1/2]

Endian::UA_L16 openmsx::MSXBootSector::nrSectors

Definition at line 31 of file DiskImageUtils.hh.

◆ nrSectors [2/2]

Endian::L32 openmsx::MSXBootSector::nrSectors

Definition at line 49 of file DiskImageUtils.hh.

◆ nrSides

Endian::L16 openmsx::MSXBootSector::nrSides

Definition at line 35 of file DiskImageUtils.hh.

Referenced by openmsx::Disk::detectGeometry().

◆ pad

std::array<uint8_t, 512-30> openmsx::MSXBootSector::pad

Definition at line 39 of file DiskImageUtils.hh.

◆ pad1

std::array<uint8_t, 9> openmsx::MSXBootSector::pad1

Definition at line 43 of file DiskImageUtils.hh.

◆ pad2

std::array<uint8_t, 512-43> openmsx::MSXBootSector::pad2

Definition at line 45 of file DiskImageUtils.hh.

◆ padding

std::array<uint8_t, 512-62> openmsx::MSXBootSector::padding

Definition at line 56 of file DiskImageUtils.hh.

◆ [union]

union { ... } openmsx::MSXBootSector::params

◆ physicalDriveNum

uint8_t openmsx::MSXBootSector::physicalDriveNum

Definition at line 50 of file DiskImageUtils.hh.

◆ reserved

uint8_t openmsx::MSXBootSector::reserved

Definition at line 51 of file DiskImageUtils.hh.

◆ resvSectors

Endian::L16 openmsx::MSXBootSector::resvSectors

Definition at line 28 of file DiskImageUtils.hh.

◆ sectorsFat

Endian::L16 openmsx::MSXBootSector::sectorsFat

Definition at line 33 of file DiskImageUtils.hh.

◆ sectorsTrack

Endian::L16 openmsx::MSXBootSector::sectorsTrack

Definition at line 34 of file DiskImageUtils.hh.

Referenced by openmsx::Disk::detectGeometry().

◆ spCluster

uint8_t openmsx::MSXBootSector::spCluster

Definition at line 27 of file DiskImageUtils.hh.

◆ vol_id

Endian::UA_L32 openmsx::MSXBootSector::vol_id

Definition at line 44 of file DiskImageUtils.hh.

◆ volumeLabel

std::array<uint8_t, 11> openmsx::MSXBootSector::volumeLabel

Definition at line 54 of file DiskImageUtils.hh.


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