openMSX
XSADiskImage.hh
Go to the documentation of this file.
1/****************************************************************/
2/* LZ77 data decompression */
3/* Copyright (c) 1994 by XelaSoft */
4/* version history: */
5/* version 0.9, start date: 11-27-1994 */
6/****************************************************************/
7
8#ifndef XSADISKIMAGE_HH
9#define XSADISKIMAGE_HH
10
11#include "SectorBasedDisk.hh"
12#include "MemBuffer.hh"
13
14namespace openmsx {
15
16class File;
17
18class XSADiskImage final : public SectorBasedDisk
19{
20public:
21 XSADiskImage(Filename& filename, File& file);
22
23private:
24 // SectorBasedDisk
25 void readSectorsImpl(
26 std::span<SectorBuffer> buffers, size_t startSector) override;
27 void writeSectorImpl(size_t sector, const SectorBuffer& buf) override;
28 [[nodiscard]] bool isWriteProtectedImpl() const override;
29
31};
32
33} // namespace openmsx
34
35#endif
This class represents a filename.
Definition Filename.hh:18
This class manages the lifetime of a block of memory.
Definition MemBuffer.hh:29
Abstract class for disk images that only represent the logical sector information (so not the raw tra...
This file implemented 3 utility functions:
Definition Autofire.cc:9