C# Class OISC_VM.InterruptHandler

Show file Open project: Creou/OISCVM Class Usage Examples

Public Methods

Method Description
GetIrqList ( ) : string
InterruptHandler ( IMemoryBus memoryBus ) : System
RegisterHardwareInterrupt ( String name, long interruptFlagAddress, bool autoReset, Action interrupt ) : void
RegisterHardwareInterrupt ( String name, long interruptFlagAddress, long triggerValue, bool autoReset, Action interrupt ) : void
RegisterSoftwareInterrupt ( String name, long interruptFlagAddress, long jumpAddress ) : void
RegisterSoftwareInterruptQueue ( String interruptQueueName, String interruptName, long interruptQueueingAddress, long interruptFlagAddress ) : void

Private Methods

Method Description
OnSoftwareInterruptTriggered ( SoftwareInterruptRequest irq ) : void
memoryNotifyer_MemoryChanged ( object sender, MemoryChangedEventArgs e ) : void

Method Details

GetIrqList() public method

public GetIrqList ( ) : string
return string

InterruptHandler() public method

public InterruptHandler ( IMemoryBus memoryBus ) : System
memoryBus IMemoryBus
return System

RegisterHardwareInterrupt() public method

public RegisterHardwareInterrupt ( String name, long interruptFlagAddress, bool autoReset, Action interrupt ) : void
name String
interruptFlagAddress long
autoReset bool
interrupt Action
return void

RegisterHardwareInterrupt() public method

public RegisterHardwareInterrupt ( String name, long interruptFlagAddress, long triggerValue, bool autoReset, Action interrupt ) : void
name String
interruptFlagAddress long
triggerValue long
autoReset bool
interrupt Action
return void

RegisterSoftwareInterrupt() public method

public RegisterSoftwareInterrupt ( String name, long interruptFlagAddress, long jumpAddress ) : void
name String
interruptFlagAddress long
jumpAddress long
return void

RegisterSoftwareInterruptQueue() public method

public RegisterSoftwareInterruptQueue ( String interruptQueueName, String interruptName, long interruptQueueingAddress, long interruptFlagAddress ) : void
interruptQueueName String
interruptName String
interruptQueueingAddress long
interruptFlagAddress long
return void