dcpu16-emulator ~master (2014-06-26T15:05:24Z)
Dub
Repo
FloppyDrive
emulator
dcpu
devices
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
;
uint
handleInterrupt
()
;
uint
hardwareId
()
;
ushort
hardwareVersion
()
;
uint
manufacturer
()
;
}
Members
Functions
handleInterrupt
uint
handleInterrupt
()
Handles hardware interrupt and returns a number of cycles.
hardwareId
uint
hardwareId
()
hardwareVersion
ushort
hardwareVersion
()
manufacturer
uint
manufacturer
()
Meta
Source
See Implementation
emulator
dcpu
devices
floppydrive
classes
FloppyDrive
structs
Sector