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 
14 namespace openmsx {
15 
16 class File;
17 
18 class XSADiskImage final : public SectorBasedDisk
19 {
20 public:
22 
23 private:
24  // SectorBasedDisk
25  void readSectorImpl (size_t sector, SectorBuffer& buf) override;
26  void writeSectorImpl(size_t sector, const SectorBuffer& buf) override;
27  [[nodiscard]] bool isWriteProtectedImpl() const override;
28 
30 };
31 
32 } // namespace openmsx
33 
34 #endif
openmsx::SectorBuffer
Definition: DiskImageUtils.hh:90
openmsx::XSADiskImage::XSADiskImage
XSADiskImage(Filename &filename, File &file)
Definition: XSADiskImage.cc:60
SectorBasedDisk.hh
openmsx::MemBuffer
This class manages the lifetime of a block of memory.
Definition: MemBuffer.hh:29
openmsx::filename
constexpr const char *const filename
Definition: FirmwareSwitch.cc:10
MemBuffer.hh
openmsx::XSADiskImage
Definition: XSADiskImage.hh:19
openmsx::File
Definition: File.hh:16
openmsx::SectorBasedDisk
Abstract class for disk images that only represent the logical sector information (so not the raw tra...
Definition: SectorBasedDisk.hh:14
openmsx::Filename
This class represents a filename.
Definition: Filename.hh:18
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5