MCPcopy
hub / github.com/fogleman/nes / Mapper4

Struct Mapper4

nes/mapper4.go:8–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Mapper4 struct {
9 *Cartridge
10 console *Console
11 register byte
12 registers [8]byte
13 prgMode byte
14 chrMode byte
15 prgOffsets [4]int
16 chrOffsets [8]int
17 reload byte
18 counter byte
19 irqEnable bool
20}
21
22func NewMapper4(console *Console, cartridge *Cartridge) Mapper {
23 m := Mapper4{Cartridge: cartridge, console: console}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected