memory

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

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func CreateMemory

func CreateMemory() *Memory

func CreateMemoryWithSize

func CreateMemoryWithSize(startOffset, size uint16) *Memory

func (*Memory) Read

func (r *Memory) Read(addr uint16) uint8

func (*Memory) Write

func (r *Memory) Write(addr uint16, data uint8)

type Mirroring

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

func CreateMirroring

func CreateMirroring(destination bus.ReadableWriteable, startOffset, mask uint16) *Mirroring

func (Mirroring) Read

func (m Mirroring) Read(addr uint16) uint8

func (Mirroring) Write

func (m Mirroring) Write(addr uint16, data uint8)

Jump to

Keyboard shortcuts

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