openMSX
|
#include "DiskImageUtils.hh"
#include "DiskPartition.hh"
#include "CommandException.hh"
#include "BootBlocks.hh"
#include "endian.hh"
#include "enumerate.hh"
#include "one_of.hh"
#include "random.hh"
#include "ranges.hh"
#include "view.hh"
#include "xrange.hh"
#include <algorithm>
#include <bit>
#include <cassert>
#include <ctime>
Go to the source code of this file.
Classes | |
struct | openmsx::DiskImageUtils::SetBootSectorResult |
struct | openmsx::DiskImageUtils::CHS |
Namespaces | |
namespace | openmsx |
This file implemented 3 utility functions: | |
namespace | openmsx::DiskImageUtils |
Enumerations | |
enum class | openmsx::DiskImageUtils::PartitionTableType { openmsx::DiskImageUtils::SUNRISE_IDE , openmsx::DiskImageUtils::NEXTOR } |
Functions | |
bool | openmsx::DiskImageUtils::hasPartitionTable (SectorAccessibleDisk &disk) |
Check whether the given disk is partitioned. More... | |
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... | |
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... | |