openMSX
fdc
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
13
#include <vector>
14
15
namespace
openmsx
{
16
17
class
File;
18
19
class
XSADiskImage
final :
public
SectorBasedDisk
20
{
21
public
:
22
XSADiskImage
(
const
Filename
& filename,
File
& file);
23
24
private
:
25
// SectorBasedDisk
26
void
readSectorsImpl(
27
std::span<SectorBuffer> buffers,
size_t
startSector)
override
;
28
void
writeSectorImpl(
size_t
sector,
const
SectorBuffer
& buf)
override
;
29
[[nodiscard]]
bool
isWriteProtectedImpl()
const override
;
30
31
std::vector<SectorBuffer> data;
32
};
33
34
}
// namespace openmsx
35
36
#endif
SectorBasedDisk.hh
openmsx::File
Definition
File.hh:18
openmsx::Filename
This class represents a filename.
Definition
Filename.hh:20
openmsx::SectorBasedDisk
Abstract class for disk images that only represent the logical sector information (so not the raw tra...
Definition
SectorBasedDisk.hh:14
openmsx::XSADiskImage
Definition
XSADiskImage.hh:20
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
openmsx::SectorBuffer
Definition
DiskImageUtils.hh:139
Generated on Sat Dec 21 2024 14:13:51 for openMSX by
1.9.8