Property | Type | Description | |
---|---|---|---|
byteWordRegister | IWriteOnlyIOPort | ||
channel0Address | IReadWriteIOPort | ||
channel0Count | IReadWriteIOPort | ||
channel0Page | IReadWriteIOPort | ||
channel1Address | IReadWriteIOPort | ||
channel1Count | IReadWriteIOPort | ||
channel1Page | IReadWriteIOPort | ||
channel2Address | IReadWriteIOPort | ||
channel2Count | IReadWriteIOPort | ||
channel2Page | IReadWriteIOPort | ||
channel3Address | IReadWriteIOPort | ||
channel3Count | IReadWriteIOPort | ||
channel3Page | IReadWriteIOPort | ||
channelMaskRegister | IWriteOnlyIOPort | ||
commandRegister | IWriteOnlyIOPort | ||
intermediateRegister | IReadOnlyIOPort | ||
maskRegister | IWriteOnlyIOPort | ||
memory0 | IMemory | ||
memory1 | IMemory | ||
memory2 | IMemory | ||
memory3 | IMemory | ||
modeRegister | IWriteOnlyIOPort | ||
requestRegister | IWriteOnlyIOPort | ||
statusRegister | IReadOnlyIOPort |
Method | Description | |
---|---|---|
DMA8Bit ( ) : Mosa.HardwareSystem |
Initializes a new instance of the DMA8Bit class.
|
|
OnInterrupt ( ) : bool |
Called when an interrupt is received.
|
|
Setup ( |
Setups this hardware device driver
|
|
SetupChannel ( byte channel, uint count, DMAMode mode, DMATransferType type, bool auto ) : bool |
Setups the channel.
|
|
Start ( ) : DeviceDriverStartStatus |
Starts this hardware device.
|
|
TransferIn ( byte channel, uint count, byte source, uint offset ) : bool |
Transfers the in.
|
|
TransferOut ( byte channel, uint count, byte destination, uint offset ) : bool |
Transfers the out.
|
Method | Description | |
---|---|---|
GetTranserAddress ( byte channel ) : IMemory |
Gets the DMA transer address.
|
protected GetTranserAddress ( byte channel ) : IMemory | ||
channel | byte | The channel. |
return | IMemory |
public Setup ( |
||
hardwareResources | ||
return | bool |
public SetupChannel ( byte channel, uint count, DMAMode mode, DMATransferType type, bool auto ) : bool | ||
channel | byte | The channel. |
count | uint | The count. |
mode | DMAMode | The mode. |
type | DMATransferType | The type. |
auto | bool | if set to |
return | bool |
public TransferIn ( byte channel, uint count, byte source, uint offset ) : bool | ||
channel | byte | The channel. |
count | uint | The count. |
source | byte | The source. |
offset | uint | The offset. |
return | bool |
public TransferOut ( byte channel, uint count, byte destination, uint offset ) : bool | ||
channel | byte | The channel. |
count | uint | The count. |
destination | byte | The destination. |
offset | uint | The offset. |
return | bool |
protected IWriteOnlyIOPort byteWordRegister | ||
return | IWriteOnlyIOPort |
protected IReadWriteIOPort channel0Address | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel0Count | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel1Address | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel1Count | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel2Address | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel2Count | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel3Address | ||
return | IReadWriteIOPort |
protected IReadWriteIOPort channel3Count | ||
return | IReadWriteIOPort |
protected IWriteOnlyIOPort channelMaskRegister | ||
return | IWriteOnlyIOPort |
protected IWriteOnlyIOPort commandRegister | ||
return | IWriteOnlyIOPort |
protected IReadOnlyIOPort intermediateRegister | ||
return | IReadOnlyIOPort |
protected IWriteOnlyIOPort requestRegister | ||
return | IWriteOnlyIOPort |