openMSX
DiskDrive.cc
Go to the documentation of this file.
1 #include "DiskDrive.hh"
2 #include "DiskExceptions.hh"
3 #include "unreachable.hh"
4 
5 namespace openmsx {
6 
7 // class DiskDrive
8 
10 {
11 }
12 
13 
14 // class DummyDrive
15 
17 {
18  return false;
19 }
20 
22 {
23  return true;
24 }
25 
27 {
28  return false;
29 }
30 
32 {
33  return false; // National_FS-5500F1 2nd drive detection depends on this
34 }
35 
36 void DummyDrive::setSide(bool /*side*/)
37 {
38  // ignore
39 }
40 
41 void DummyDrive::step(bool /*direction*/, EmuTime::param /*time*/)
42 {
43  // ignore
44 }
45 
46 void DummyDrive::setMotor(bool /*status*/, EmuTime::param /*time*/)
47 {
48  // ignore
49 }
50 
52 {
53  return false;
54 }
55 
57 {
58  return EmuTime::infinity;
59 }
60 
61 void DummyDrive::setHeadLoaded(bool /*status*/, EmuTime::param /*time*/)
62 {
63  // ignore
64 }
65 
67 {
68  return false;
69 }
70 
71 void DummyDrive::writeTrack(const RawTrack& /*track*/)
72 {
74 }
75 
77 {
79 }
80 
82  RawTrack::Sector& /*sector*/)
83 {
84  return EmuTime::infinity;
85 }
86 
88 {
89  return false;
90 }
91 
93 {
94  return false;
95 }
96 
98 {
99  return true;
100 }
101 
102 } // namespace openmsx