C# Class DotNES.Core.APU

Afficher le fichier Open project: brandonpelfrey/dotnes

Méthodes publiques

Méthode Description
APU ( ) : System
getPulseAudio ( Pulse pulse, int timeInSamples ) : float
getTriangleAudio ( Triangle triangle, int timeInSamples ) : float
read ( ushort addr ) : byte
setLoggerEnabled ( bool enable ) : void
step ( int cpuCycles ) : void
write ( ushort addr, byte val ) : void
writeFrameCounterAudio ( ) : void

Private Methods

Méthode Description
APUFrameTick ( ) : void
apuStep ( ) : void
tickEnvelopCounter ( Pulse pulse ) : void
tickLengthCounter ( Pulse pulse ) : void
tickLengthCounter ( Triangle triangle ) : void
tickLinearCounter ( Triangle triangle ) : void
tickSweep ( Pulse pulse ) : void

Method Details

APU() public méthode

public APU ( ) : System
Résultat System

getPulseAudio() public méthode

public getPulseAudio ( Pulse pulse, int timeInSamples ) : float
pulse Pulse
timeInSamples int
Résultat float

getTriangleAudio() public méthode

public getTriangleAudio ( Triangle triangle, int timeInSamples ) : float
triangle Triangle
timeInSamples int
Résultat float

read() public méthode

public read ( ushort addr ) : byte
addr ushort
Résultat byte

setLoggerEnabled() public méthode

public setLoggerEnabled ( bool enable ) : void
enable bool
Résultat void

step() public méthode

public step ( int cpuCycles ) : void
cpuCycles int
Résultat void

write() public méthode

public write ( ushort addr, byte val ) : void
addr ushort
val byte
Résultat void

writeFrameCounterAudio() public méthode

public writeFrameCounterAudio ( ) : void
Résultat void