MCPcopy Create free account
hub / github.com/fogleman/nes / writeTimerLow

Method writeTimerLow

nes/apu.go:556–558  ·  view source on GitHub ↗
(value byte)

Source from the content-addressed store, hash-verified

554}
555
556func (t *Triangle) writeTimerLow(value byte) {
557 t.timerPeriod = (t.timerPeriod & 0xFF00) | uint16(value)
558}
559
560func (t *Triangle) writeTimerHigh(value byte) {
561 t.lengthValue = lengthTable[value>>3]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected