cpubus

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

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

Go to latest
Published: Nov 9, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CpuBus

type CpuBus struct {
	Ram        bus.Ram
	ProgramRom bus.Rom
	Ppu        ppu.Ppu
	Keypad     *bus.Keypad
	Dma        dma.Dma
}

func NewCpuBus

func NewCpuBus(ram bus.Ram, programRom bus.Rom, ppu ppu.Ppu, dma dma.Dma, keypad *bus.Keypad) CpuBus

func (CpuBus) ReadByCpu

func (this CpuBus) ReadByCpu(addr uint16) byte

func (CpuBus) ReadWord

func (this CpuBus) ReadWord(addr uint16) uint16

func (*CpuBus) WriteByCpu

func (this *CpuBus) WriteByCpu(addr uint16, data byte)

Jump to

Keyboard shortcuts

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