bus

package
v0.0.0-...-8886972 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

type Bus struct {
	Cart  *cartridge.Cartridge
	VRAM  *memory.RAM
	WRAM  *memory.RAM
	WRAM2 *memory.RAM
	HRAM  *memory.RAM
	ERAM  *memory.RAM
	// contains filtered or unexported fields
}

func New

func New(cart *cartridge.Cartridge, vram *memory.RAM, wram *memory.RAM, wram2 *memory.RAM, hram *memory.RAM, a *apu.APU, g *gpu.GPU, irq *interrupt.IRQ, pad *pad.Pad, timer *timer.Timer, serial *serial.Serial) *Bus

func (*Bus) ReadAddr

func (b *Bus) ReadAddr(addr types.Addr) types.Addr

func (*Bus) ReadByte

func (b *Bus) ReadByte(addr types.Addr) byte

func (*Bus) WriteByte

func (b *Bus) WriteByte(addr types.Addr, value byte)

Jump to

Keyboard shortcuts

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