C# Class NesHd.Core.APU.Apu

Show file Open project: afonsof/nes-hd Class Usage Examples

Public Properties

Property Type Description
DMCIRQPending bool
FrameIRQEnabled bool
FrameIRQPending bool
IsRendering bool
RECODER WaveRecorder
STEREO bool
_FrameCounter int
_PAL bool

Public Methods

Method Description
Apu ( NesEngine NesEmu, IAudioDevice SoundDevice ) : System.Windows.Forms
Pause ( ) : void
Play ( ) : void
Read_4015 ( ) : byte
RenderFrame ( ) : void
SetPan ( int Pan ) : void

Set the pan

SetVolume ( int Vol ) : void

Set the volume

Shutdown ( ) : void
Write_4000 ( byte data ) : void
Write_4001 ( byte data ) : void
Write_4002 ( byte data ) : void
Write_4003 ( byte data ) : void
Write_4004 ( byte data ) : void
Write_4005 ( byte data ) : void
Write_4006 ( byte data ) : void
Write_4007 ( byte data ) : void
Write_4008 ( byte data ) : void
Write_400A ( byte data ) : void
Write_400B ( byte data ) : void
Write_400C ( byte data ) : void
Write_400E ( byte data ) : void
Write_400F ( byte data ) : void
Write_4010 ( byte data ) : void
Write_4011 ( byte data ) : void
Write_4012 ( byte data ) : void
Write_4013 ( byte data ) : void
Write_4015 ( byte data ) : void
Write_4017 ( byte data ) : void

Private Methods

Method Description
InitChannels ( ) : void
InitDirectSound ( Control parent ) : void

Method Details

Apu() public method

public Apu ( NesEngine NesEmu, IAudioDevice SoundDevice ) : System.Windows.Forms
NesEmu NesEngine
SoundDevice IAudioDevice
return System.Windows.Forms

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Read_4015() public method

public Read_4015 ( ) : byte
return byte

RenderFrame() public method

public RenderFrame ( ) : void
return void

SetPan() public method

Set the pan
public SetPan ( int Pan ) : void
Pan int The pan
return void

SetVolume() public method

Set the volume
public SetVolume ( int Vol ) : void
Vol int The volume level (-3000 = min, 0 = max)
return void

Shutdown() public method

public Shutdown ( ) : void
return void

Write_4000() public method

public Write_4000 ( byte data ) : void
data byte
return void

Write_4001() public method

public Write_4001 ( byte data ) : void
data byte
return void

Write_4002() public method

public Write_4002 ( byte data ) : void
data byte
return void

Write_4003() public method

public Write_4003 ( byte data ) : void
data byte
return void

Write_4004() public method

public Write_4004 ( byte data ) : void
data byte
return void

Write_4005() public method

public Write_4005 ( byte data ) : void
data byte
return void

Write_4006() public method

public Write_4006 ( byte data ) : void
data byte
return void

Write_4007() public method

public Write_4007 ( byte data ) : void
data byte
return void

Write_4008() public method

public Write_4008 ( byte data ) : void
data byte
return void

Write_400A() public method

public Write_400A ( byte data ) : void
data byte
return void

Write_400B() public method

public Write_400B ( byte data ) : void
data byte
return void

Write_400C() public method

public Write_400C ( byte data ) : void
data byte
return void

Write_400E() public method

public Write_400E ( byte data ) : void
data byte
return void

Write_400F() public method

public Write_400F ( byte data ) : void
data byte
return void

Write_4010() public method

public Write_4010 ( byte data ) : void
data byte
return void

Write_4011() public method

public Write_4011 ( byte data ) : void
data byte
return void

Write_4012() public method

public Write_4012 ( byte data ) : void
data byte
return void

Write_4013() public method

public Write_4013 ( byte data ) : void
data byte
return void

Write_4015() public method

public Write_4015 ( byte data ) : void
data byte
return void

Write_4017() public method

public Write_4017 ( byte data ) : void
data byte
return void

Property Details

DMCIRQPending public property

public bool DMCIRQPending
return bool

FrameIRQEnabled public property

public bool FrameIRQEnabled
return bool

FrameIRQPending public property

public bool FrameIRQPending
return bool

IsRendering public property

public bool IsRendering
return bool

RECODER public property

public WaveRecorder,NesHd.Core.APU RECODER
return WaveRecorder

STEREO public property

public bool STEREO
return bool

_FrameCounter public property

public int _FrameCounter
return int

_PAL public property

public bool _PAL
return bool