29 [[nodiscard]]
virtual bool hasChanged()
const {
return false; }
35 [[nodiscard]]
size_t physToLog(
byte track,
byte side,
byte sector);
50 unsigned sectorsPerTrack;
virtual void detectGeometryFallback()
const DiskName & getName() const
void writeTrack(byte track, byte side, const RawTrack &input)
Replace a full track in this image with the given track.
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 setSectorsPerTrack(unsigned num)
virtual void detectGeometry()
TSS logToPhys(size_t log)
virtual void readTrack(byte track, byte side, RawTrack &output)=0
Read a full track from this disk image.
size_t physToLog(byte track, byte side, byte sector)
virtual void writeTrackImpl(byte track, byte side, const RawTrack &input)=0
constexpr double log(double x)
This file implemented 3 utility functions: