unusableaddr

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 Unused Memory
	AddrStart uint16 = 0xFEA0
	// AddrEnd is the last address of Unused Memory
	AddrEnd uint16 = 0xFEFF
)

To bind to MMU

Variables

This section is empty.

Functions

This section is empty.

Types

type UnusableAddr

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

UnusableAddr emulate unused address range.

Not used but present. Any game uses this range ?

func NewUnusableAddr

func NewUnusableAddr() *UnusableAddr

NewUnusableAddr returns simple Memory implementation for Unused memory range.

func (*UnusableAddr) Read

func (unused *UnusableAddr) Read(addr uint16) uint8

func (*UnusableAddr) Write

func (unused *UnusableAddr) Write(addr uint16, value uint8)

Jump to

Keyboard shortcuts

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