gorones

package module
v0.0.0-...-86b10a5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NES

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

NES components

func NewNES

func NewNES(m mapper.Mapper, ctrl1, ctrl2 input.Controller, frameRenderer ppu.FrameRenderer, audioRenderer apu.AudioRenderer) *NES

func (*NES) InitNEStest

func (n *NES) InitNEStest()

func (*NES) PowerOn

func (n *NES) PowerOn()

func (*NES) Read

func (b *NES) Read(addr uint16) uint8

adapt to apu.DMCMemoryReader

func (*NES) ReadCPU

func (b *NES) ReadCPU(addr uint16) uint8

func (*NES) Reset

func (n *NES) Reset()

func (*NES) RunFrame

func (n *NES) RunFrame()

func (*NES) Tick

func (n *NES) Tick()

func (*NES) WriteCPU

func (b *NES) WriteCPU(addr uint16, value uint8)

Directories

Path Synopsis
cmd
nes

Jump to

Keyboard shortcuts

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