FloppyDrive

@trusted nothrow
class FloppyDrive : IDevice!Cpu(
Cpu
) {
Emulator!Cpu _emulator;
Floppy* _floppy;
StateCode _state;
ErrorCode _error;
ushort interruptMessage;
ushort curentTrack;
ushort targetSector;
ushort ramAddress;
bool isReading;
enum seekingTime;
enum sectorReadWriteSpeed;
enum sectorSize;
enum sectorsPerTrack;
}

Members

Functions

handleInterrupt
uint handleInterrupt()

Handles hardware interrupt and returns a number of cycles.

hardwareId
uint hardwareId()
hardwareVersion
ushort hardwareVersion()
manufacturer
uint manufacturer()

Meta