funes-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Nes.APU.State.DMC

Synopsis

Documentation

Actions

restartSample :: DMC -> DMC Source #

When a sample is (re)started, the current address is set to the sample address, and bytes remaining is set to the sample length.

loadSampleBuffer :: Byte -> DMC -> InterruptStatus -> (DMC, InterruptStatus) Source #

Loads the byte into the sample buffer and shift the sample buffer-related values

Output