openMSX
|
#include "DiskImageUtils.hh"
#include "DiskPartition.hh"
#include "CommandException.hh"
#include "BootBlocks.hh"
#include "endian.hh"
#include "random.hh"
#include "xrange.hh"
#include <cstring>
#include <cassert>
#include <ctime>
Go to the source code of this file.
Classes | |
struct | openmsx::DiskImageUtils::SetBootSectorResult |
struct | openmsx::DiskImageUtils::CHS |
Namespaces | |
openmsx | |
This file implemented 3 utility functions: | |
openmsx::DiskImageUtils | |
Functions | |
bool | openmsx::DiskImageUtils::hasPartitionTable (SectorAccessibleDisk &disk) |
Check whether the given disk is partitioned. More... | |
void | openmsx::DiskImageUtils::checkValidPartition (SectorAccessibleDisk &disk, unsigned partition) |
Checks whether the disk is partitioned the specified partition exists throws a CommandException if one of these conditions is false. More... | |
void | openmsx::DiskImageUtils::checkFAT12Partition (SectorAccessibleDisk &disk, unsigned partition) |
Like above, but also check whether partition is of type FAT12. More... | |
void | openmsx::DiskImageUtils::format (SectorAccessibleDisk &disk, bool dos1=false) |
Format the given disk (= a single partition). More... | |
void | openmsx::DiskImageUtils::partition (SectorAccessibleDisk &disk, const std::vector< unsigned > &sizes) |
Write a partition table to the given disk and format each partition. More... | |