C# Class NesHd.Core.APU.ChnRectangle2

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

Public Methods

Method Description
LoadState ( StateHolder st ) : void
RenderSample ( ) : short
SaveState ( StateHolder st ) : void
UpdateEnvelope ( ) : void
UpdateLengthCounter ( ) : void
UpdateSweep ( ) : void
Write_4004 ( byte data ) : void
Write_4005 ( byte data ) : void
Write_4006 ( byte data ) : void
Write_4007 ( byte data ) : void

Private Methods

Method Description
CheckSweepForceSilence ( ) : void

Check to see if the sweep unit is forcing the channel to be silent and update the frequency if not.

Method Details

LoadState() public method

public LoadState ( StateHolder st ) : void
st NesHd.Core.Misc.StateHolder
return void

RenderSample() public method

public RenderSample ( ) : short
return short

SaveState() public method

public SaveState ( StateHolder st ) : void
st NesHd.Core.Misc.StateHolder
return void

UpdateEnvelope() public method

public UpdateEnvelope ( ) : void
return void

UpdateLengthCounter() public method

public UpdateLengthCounter ( ) : void
return void

UpdateSweep() public method

public UpdateSweep ( ) : void
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