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

Method writeCHRBank0

nes/mapper1.go:140–143  ·  view source on GitHub ↗

CHR bank 0 (internal, $A000-$BFFF)

(value byte)

Source from the content-addressed store, hash-verified

138
139// CHR bank 0 (internal, $A000-$BFFF)
140func (m *Mapper1) writeCHRBank0(value byte) {
141 m.chrBank0 = value
142 m.updateOffsets()
143}
144
145// CHR bank 1 (internal, $C000-$DFFF)
146func (m *Mapper1) writeCHRBank1(value byte) {

Callers 1

writeRegisterMethod · 0.95

Calls 1

updateOffsetsMethod · 0.95

Tested by

no test coverage detected