Skip to content

FloppyDriveInfo ​

cpp
#include <Peripherals/Drive/FloppyDriveTypes.h>
cpp
struct FloppyDriveInfo

Defined in Peripherals/Drive/FloppyDriveTypes.h:121

State of a floppy drive.

Public Attributes ​

ReturnNameDescription
isizenrNumber of the drive.
DriveHeadheadPosition of the drive head.
boolisConnectedThe drive is connected.
boolhasDiskA disk is inserted.
boolhasModifiedDiskThe inserted disk has unsaved changes.
boolhasUnmodifiedDiskThe inserted disk has no unsaved changes.
boolhasProtectedDiskThe inserted disk is write-protected.
boolhasUnprotectedDiskThe inserted disk is not write-protected.
boolmotorThe drive motor is on.
boolwritingThe drive is writing.

nr ​

cpp
isize nr

Defined in Peripherals/Drive/FloppyDriveTypes.h:123

Number of the drive.


cpp
DriveHead head

Type: DriveHead

Defined in Peripherals/Drive/FloppyDriveTypes.h:124

Position of the drive head.


isConnected ​

cpp
bool isConnected

Defined in Peripherals/Drive/FloppyDriveTypes.h:125

The drive is connected.


hasDisk ​

cpp
bool hasDisk

Defined in Peripherals/Drive/FloppyDriveTypes.h:126

A disk is inserted.


hasModifiedDisk ​

cpp
bool hasModifiedDisk

Defined in Peripherals/Drive/FloppyDriveTypes.h:127

The inserted disk has unsaved changes.


hasUnmodifiedDisk ​

cpp
bool hasUnmodifiedDisk

Defined in Peripherals/Drive/FloppyDriveTypes.h:128

The inserted disk has no unsaved changes.


hasProtectedDisk ​

cpp
bool hasProtectedDisk

Defined in Peripherals/Drive/FloppyDriveTypes.h:129

The inserted disk is write-protected.


hasUnprotectedDisk ​

cpp
bool hasUnprotectedDisk

Defined in Peripherals/Drive/FloppyDriveTypes.h:130

The inserted disk is not write-protected.


motor ​

cpp
bool motor

Defined in Peripherals/Drive/FloppyDriveTypes.h:131

The drive motor is on.


writing ​

cpp
bool writing

Defined in Peripherals/Drive/FloppyDriveTypes.h:132

The drive is writing.