C# 클래스 Ypsilon.Emulation.Processor.YBUS

A representation of a address/data bus that has 16 generic slots. Device in slot zero is YCPU. Other slots can hold devices that inherit from ADevice.
파일 보기 프로젝트 열기: ZaneDubya/YCPU 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CPU YCPU

공개 메소드들

메소드 설명
AcknowledgeIRQ ( ushort deviceIndex ) : void
AddDevice ( ADevice device, ushort index ) : void

Adds a device to specified slot index. INDEX MUST BE 1 - 16.

Display ( List textures ) : void
FillROM ( byte rom ) : void
QueryDevice ( ushort deviceIndex ) : ushort[]
RemoveDevice ( ushort index ) : void

Adds a device in the specified slot index. INDEX MUST BE 1 - 16.

Reset ( ) : void

Removes all RAM, ROM, Devices, and any segment references to the same.

SendDeviceMessage ( ushort deviceIndex, ushort param_0, ushort param_1 ) : ushort
SetProviders ( IDisplayProvider display, IInputProvider input ) : void
SetRAM ( uint ramSize ) : void
SetROM ( uint romSize ) : void
Update ( ) : void
YBUS ( YCPU cpu ) : System.Collections.Generic

비공개 메소드들

메소드 설명
AddSegmentToReferences ( Segment segment ) : void
Device_RaiseIRQ ( ADevice device ) : void
GetDeviceMemoryReference ( Segment segment, ushort deviceIndex ) : void

Returns the byte array of memory attached to the device. Accepts values from 0 - 16. Device 0 is ROM.

GetRAMReference ( Segment segment ) : void
GetROMReference ( Segment segment ) : void

메소드 상세

AcknowledgeIRQ() 공개 메소드

public AcknowledgeIRQ ( ushort deviceIndex ) : void
deviceIndex ushort
리턴 void

AddDevice() 공개 메소드

Adds a device to specified slot index. INDEX MUST BE 1 - 16.
public AddDevice ( ADevice device, ushort index ) : void
device ADevice
index ushort
리턴 void

Display() 공개 메소드

public Display ( List textures ) : void
textures List
리턴 void

FillROM() 공개 메소드

public FillROM ( byte rom ) : void
rom byte
리턴 void

QueryDevice() 공개 메소드

public QueryDevice ( ushort deviceIndex ) : ushort[]
deviceIndex ushort
리턴 ushort[]

RemoveDevice() 공개 메소드

Adds a device in the specified slot index. INDEX MUST BE 1 - 16.
public RemoveDevice ( ushort index ) : void
index ushort
리턴 void

Reset() 공개 메소드

Removes all RAM, ROM, Devices, and any segment references to the same.
public Reset ( ) : void
리턴 void

SendDeviceMessage() 공개 메소드

public SendDeviceMessage ( ushort deviceIndex, ushort param_0, ushort param_1 ) : ushort
deviceIndex ushort
param_0 ushort
param_1 ushort
리턴 ushort

SetProviders() 공개 메소드

public SetProviders ( IDisplayProvider display, IInputProvider input ) : void
display IDisplayProvider
input IInputProvider
리턴 void

SetRAM() 공개 메소드

public SetRAM ( uint ramSize ) : void
ramSize uint
리턴 void

SetROM() 공개 메소드

public SetROM ( uint romSize ) : void
romSize uint
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

YBUS() 공개 메소드

public YBUS ( YCPU cpu ) : System.Collections.Generic
cpu YCPU
리턴 System.Collections.Generic

프로퍼티 상세

CPU 공개적으로 프로퍼티

public YCPU,Ypsilon.Emulation.Processor CPU
리턴 YCPU