openMSX
|
#include "AlignedBuffer.hh"
#include "endian.hh"
#include "ranges.hh"
#include <array>
#include <span>
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 |
Namespaces | |
namespace | openmsx |
This file implemented 3 utility functions: | |
namespace | openmsx::DiskImageUtils |
Enumerations | |
enum class | openmsx::MSXBootSectorType { openmsx::DOS1 , openmsx::DOS2 , openmsx::NEXTOR } |
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... | |