mappers

package
v0.0.0-...-7e0fd05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper

type Mapper interface {
	ID() uint8

	ConnectTo(cpuBus *bus.Bus, ppuBus *bus.Bus, prgMemory bus.ReadableWriteable, chrMemory bus.ReadableWriteable)

	CPURead(addr uint16) (uint64, bool)
	CPUWrite(addr uint16, value uint8) (uint64, bool)
	PPURead(addr uint16) (uint64, bool)
	PPUWrite(addr uint16, value uint8) (uint64, bool)
}

func Load

func Load(mapperID uint8, nPRGBanks uint8) (Mapper, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL