mappers

package
Version: v0.0.0-...-7cd2a6a Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2019 License: Apache-2.0 Imports: 1 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 {
	CpuMapRead(addr uint16) (mappedAddr uint32, flag bool)
	CpuMapWrite(addr uint16) (mappedAddr uint32, flag bool)
	PpuMapRead(addr uint16) (mappedAddr uint32, flag bool)
	PpuMapWrite(addr uint16) (mappedAddr uint32, flag bool)
}

Mapper interface

func Create

func Create(header *ines.Header) Mapper

type Mapper000

type Mapper000 struct {
	// contains filtered or unexported fields
}

func NewMapper000

func NewMapper000(numPRGBanks, numCHRBanks uint8) *Mapper000

func (*Mapper000) CpuMapRead

func (m *Mapper000) CpuMapRead(addr uint16) (mappedAddr uint32, flag bool)

func (*Mapper000) CpuMapWrite

func (m *Mapper000) CpuMapWrite(addr uint16) (mappedAddr uint32, flag bool)

func (*Mapper000) PpuMapRead

func (m *Mapper000) PpuMapRead(addr uint16) (mappedAddr uint32, flag bool)

func (*Mapper000) PpuMapWrite

func (m *Mapper000) PpuMapWrite(addr uint16) (mappedAddr uint32, flag bool)

Jump to

Keyboard shortcuts

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