C# Class x86CS.Devices.Floppy

Inheritance: IDevice, INeedsIRQ, INeedsDMA
Exibir arquivo Open project: cryogen/VM86CS Class Usage Examples

Public Methods

Method Description
Floppy ( ) : System
MountImage ( string imagePath ) : bool
OnDMA ( ByteArrayEventArgs e ) : void
OnIRQ ( EventArgs e ) : void
Read ( ushort addr, int size ) : uint
Write ( ushort addr, uint value, int size ) : void

Private Methods

Method Description
ProcessCommandAndArgs ( ushort value ) : void
ReadSector ( ) : void
Reset ( ) : void
RunCommand ( ) : void

Method Details

Floppy() public method

public Floppy ( ) : System
return System

MountImage() public method

public MountImage ( string imagePath ) : bool
imagePath string
return bool

OnDMA() public method

public OnDMA ( ByteArrayEventArgs e ) : void
e ByteArrayEventArgs
return void

OnIRQ() public method

public OnIRQ ( EventArgs e ) : void
e System.EventArgs
return void

Read() public method

public Read ( ushort addr, int size ) : uint
addr ushort
size int
return uint

Write() public method

public Write ( ushort addr, uint value, int size ) : void
addr ushort
value uint
size int
return void