openMSX
|
#include "AlignedBuffer.hh"
#include "endian.hh"
#include "ranges.hh"
#include <array>
#include <span>
#include <string>
Go to the source code of this file.
Classes | |
struct | openmsx::MSXBootSector |
struct | openmsx::MSXDirEntry |
struct | openmsx::Partition |
struct | openmsx::PartitionTableSunrise |
struct | openmsx::PartitionTableNextor |
union | openmsx::SectorBuffer |
struct | openmsx::DiskImageUtils::FatTimeDate |
Namespaces | |
namespace | openmsx |
This file implemented 3 utility functions: | |
namespace | openmsx::DiskImageUtils |
Enumerations | |
enum class | openmsx::MSXBootSectorType : int { openmsx::DOS1 = 0 , openmsx::DOS2 = 1 , openmsx::NEXTOR = 2 } |
Functions | |
Partition & | openmsx::DiskImageUtils::getPartition (SectorAccessibleDisk &disk, unsigned partition, SectorBuffer &buf) |
Gets the requested partition. More... | |
void | openmsx::DiskImageUtils::checkSupportedPartition (SectorAccessibleDisk &disk, unsigned partition) |
Check whether partition is of type FAT12 or FAT16. More... | |
bool | openmsx::DiskImageUtils::hasPartitionTable (SectorAccessibleDisk &disk) |
Check whether the given disk is partitioned. More... | |
void | openmsx::DiskImageUtils::format (SectorAccessibleDisk &disk, MSXBootSectorType bootType) |
Format the given disk (= a single partition). More... | |
void | openmsx::DiskImageUtils::format (SectorAccessibleDisk &disk, MSXBootSectorType bootType, size_t nbSectors) |
unsigned | openmsx::DiskImageUtils::partition (SectorAccessibleDisk &disk, std::span< const unsigned > sizes, MSXBootSectorType bootType) |
Write a partition table to the given disk and format each partition. More... | |
FatTimeDate | openmsx::DiskImageUtils::toTimeDate (time_t totalSeconds) |
time_t | openmsx::DiskImageUtils::fromTimeDate (FatTimeDate timeDate) |
std::string | openmsx::DiskImageUtils::formatAttrib (uint8_t attrib) |