Appearance
FloppyDriveInfo
cpp
#include <Peripherals/Drive/FloppyDriveTypes.h>cpp
struct FloppyDriveInfoDefined in Peripherals/Drive/FloppyDriveTypes.h:121
State of a floppy drive.
Public Attributes
| Return | Name | Description |
|---|---|---|
isize | nr | Number of the drive. |
DriveHead | head | Position of the drive head. |
bool | isConnected | The drive is connected. |
bool | hasDisk | A disk is inserted. |
bool | hasModifiedDisk | The inserted disk has unsaved changes. |
bool | hasUnmodifiedDisk | The inserted disk has no unsaved changes. |
bool | hasProtectedDisk | The inserted disk is write-protected. |
bool | hasUnprotectedDisk | The inserted disk is not write-protected. |
bool | motor | The drive motor is on. |
bool | writing | The drive is writing. |
nr
cpp
isize nrDefined in Peripherals/Drive/FloppyDriveTypes.h:123
Number of the drive.
head
cpp
DriveHead headType: DriveHead
Defined in Peripherals/Drive/FloppyDriveTypes.h:124
Position of the drive head.
isConnected
cpp
bool isConnectedDefined in Peripherals/Drive/FloppyDriveTypes.h:125
The drive is connected.
hasDisk
cpp
bool hasDiskDefined in Peripherals/Drive/FloppyDriveTypes.h:126
A disk is inserted.
hasModifiedDisk
cpp
bool hasModifiedDiskDefined in Peripherals/Drive/FloppyDriveTypes.h:127
The inserted disk has unsaved changes.
hasUnmodifiedDisk
cpp
bool hasUnmodifiedDiskDefined in Peripherals/Drive/FloppyDriveTypes.h:128
The inserted disk has no unsaved changes.
hasProtectedDisk
cpp
bool hasProtectedDiskDefined in Peripherals/Drive/FloppyDriveTypes.h:129
The inserted disk is write-protected.
hasUnprotectedDisk
cpp
bool hasUnprotectedDiskDefined in Peripherals/Drive/FloppyDriveTypes.h:130
The inserted disk is not write-protected.
motor
cpp
bool motorDefined in Peripherals/Drive/FloppyDriveTypes.h:131
The drive motor is on.
writing
cpp
bool writingDefined in Peripherals/Drive/FloppyDriveTypes.h:132
The drive is writing.