C# Class NesHd.Core.APU.ChnRectangle1

显示文件 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_4000 ( byte data ) : void
Write_4001 ( byte data ) : void
Write_4002 ( byte data ) : void
Write_4003 ( 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_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