C# 클래스 NesHd.Core.Memory.Memory

The main class for memory including RAM, IO, SRAM and PRG
파일 보기 프로젝트 열기: afonsof/nes-hd 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
JoyData1 int
JoyData2 int
JoyStrobe byte
WriteOnRam bool
Zapper NesHd.Core.Input.Zapper

공개 메소드들

메소드 설명
LoadCart ( string romPath ) : bool
Memory ( NesEngine engine ) : NesHd.Core.Debugger
Read ( ushort address ) : byte

Read a value from the memory at a specific address

Read16 ( ushort address ) : ushort

Read an address from the memory

Write ( ushort address, byte value ) : byte

Write a value into the memory at the specific address

비공개 메소드들

메소드 설명
InitializeMemory ( ) : void

Initialize and clear the memory

메소드 상세

LoadCart() 공개 메소드

public LoadCart ( string romPath ) : bool
romPath string
리턴 bool

Memory() 공개 메소드

public Memory ( NesEngine engine ) : NesHd.Core.Debugger
engine NesEngine
리턴 NesHd.Core.Debugger

Read() 공개 메소드

Read a value from the memory at a specific address
public Read ( ushort address ) : byte
address ushort The address to read from
리턴 byte

Read16() 공개 메소드

Read an address from the memory
public Read16 ( ushort address ) : ushort
address ushort
리턴 ushort

Write() 공개 메소드

Write a value into the memory at the specific address
public Write ( ushort address, byte value ) : byte
address ushort
value byte
리턴 byte

프로퍼티 상세

JoyData1 공개적으로 프로퍼티

public int JoyData1
리턴 int

JoyData2 공개적으로 프로퍼티

public int JoyData2
리턴 int

JoyStrobe 공개적으로 프로퍼티

public byte JoyStrobe
리턴 byte

WriteOnRam 공개적으로 프로퍼티

public bool WriteOnRam
리턴 bool

Zapper 공개적으로 프로퍼티

public Zapper,NesHd.Core.Input Zapper
리턴 NesHd.Core.Input.Zapper