16 void RamDSKDiskImage::readSectorsImpl(
19 memcpy(buffers, &data[startSector], num *
sizeof(
SectorBuffer));
22 void RamDSKDiskImage::writeSectorImpl(
size_t sector,
const SectorBuffer& buf)
24 memcpy(&data[sector], &buf,
sizeof(buf));
27 bool 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, bool dos1)
Format the given disk (= a single partition).
This file implemented 3 utility functions:
size_t size(std::string_view utf8)