hram

package
v0.0.0-...-88ca599 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AddrStart is the first address of IOPorts
	AddrStart uint16 = 0xFF80
	// AddrEnd is the last address of IOPorts
	AddrEnd uint16 = 0xFFFE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HRAM

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

HRAM emulate Gameboy hram.

func NewGBHRAM

func NewGBHRAM() *HRAM

NewGBHRAM returns new HRAM implementation

func (*HRAM) Read

func (hram *HRAM) Read(addr uint16) uint8

func (*HRAM) Write

func (hram *HRAM) Write(addr uint16, value uint8)

Jump to

Keyboard shortcuts

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