cartridge

package
v0.0.0-...-cc98a46 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 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 Cartridge

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

func New

func New(rom []uint8) *Cartridge

func (*Cartridge) IsCGB

func (c *Cartridge) IsCGB() bool

func (*Cartridge) LoadSRAM

func (c *Cartridge) LoadSRAM(data []uint8) error

func (*Cartridge) Read

func (c *Cartridge) Read(addr uint16) uint8

func (*Cartridge) SRAM

func (c *Cartridge) SRAM() []uint8

func (*Cartridge) Title

func (c *Cartridge) Title() string

func (*Cartridge) Write

func (c *Cartridge) Write(addr uint16, val uint8)

Jump to

Keyboard shortcuts

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