16void RamDSKDiskImage::readSectorsImpl(
17 std::span<SectorBuffer> buffers,
size_t startSector)
19 ranges::copy(std::span{&data[startSector], buffers.size()}, buffers);
22void RamDSKDiskImage::writeSectorImpl(
size_t sector,
const SectorBuffer& buf)
27bool RamDSKDiskImage::isWriteProtectedImpl()
const
This class represents a filename.
RamDSKDiskImage(size_t size=720 *1024)
Abstract class for disk images that only represent the logical sector information (so not the raw tra...
void setNbSectors(size_t num)
void format(SectorAccessibleDisk &disk, MSXBootSectorType bootType)
Format the given disk (= a single partition).
This file implemented 3 utility functions:
constexpr auto copy(InputRange &&range, OutputIter out)