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

Method writeTimerLow

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

Source from the content-addressed store, hash-verified

414}
415
416func (p *Pulse) writeTimerLow(value byte) {
417 p.timerPeriod = (p.timerPeriod & 0xFF00) | uint16(value)
418}
419
420func (p *Pulse) writeTimerHigh(value byte) {
421 p.lengthValue = lengthTable[value>>3]

Callers 1

writeRegisterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected