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

Method Step

nes/mapper40.go:32–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (m *Mapper40) Step() {
33 if m.cycles < 0 {
34 return
35 }
36 m.cycles++
37 if m.cycles%(4096*3) == 0 {
38 m.cycles = 0
39 m.console.CPU.triggerIRQ()
40 }
41}
42
43func (m *Mapper40) Read(address uint16) byte {
44 switch {

Callers

nothing calls this directly

Calls 1

triggerIRQMethod · 0.80

Tested by

no test coverage detected