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

Method writeOAMData

nes/ppu.go:298–301  ·  view source on GitHub ↗

$2004: OAMDATA (write)

(value byte)

Source from the content-addressed store, hash-verified

296
297// $2004: OAMDATA (write)
298func (ppu *PPU) writeOAMData(value byte) {
299 ppu.oamData[ppu.oamAddress] = value
300 ppu.oamAddress++
301}
302
303// $2005: PPUSCROLL
304func (ppu *PPU) writeScroll(value byte) {

Callers 1

writeRegisterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected