Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
416
func
(p *Pulse) writeTimerLow(value byte) {
417
p.timerPeriod = (p.timerPeriod & 0xFF00) | uint16(value)
418
}
419
420
func
(p *Pulse) writeTimerHigh(value byte) {
421
p.lengthValue = lengthTable[value>>3]
Callers
1
writeRegister
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected