29 [[nodiscard]]
virtual bool hasChanged()
const {
return false; }
35 [[nodiscard]]
size_t physToLog(uint8_t track, uint8_t side, uint8_t sector);
50 unsigned sectorsPerTrack;
virtual void detectGeometryFallback()
size_t physToLog(uint8_t track, uint8_t side, uint8_t sector)
virtual void writeTrackImpl(uint8_t track, uint8_t side, const RawTrack &input)=0
virtual void readTrack(uint8_t track, uint8_t side, RawTrack &output)=0
Read a full track from this disk image.
const DiskName & getName() const
unsigned getSectorsPerTrack()
void setNbSides(unsigned num)
virtual bool hasChanged() const
Has the content of this disk changed, by some other means than the MSX writing to the disk.
void writeTrack(uint8_t track, uint8_t side, const RawTrack &input)
Replace a full track in this image with the given track.
void setSectorsPerTrack(unsigned num)
virtual void detectGeometry()
TSS logToPhys(size_t log)
This file implemented 3 utility functions: