ram

package
v0.0.0-...-4c3c946 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const F_MAIN = 0

Variables

This section is empty.

Functions

This section is empty.

Types

type Ram

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

func New

func New(name string, banks int, size uint32) *Ram

func (*Ram) Name

func (mem *Ram) Name(fn byte) string

func (*Ram) Read

func (mem *Ram) Read(fn byte, addr uint32) (byte, error)

func (*Ram) Size

func (mem *Ram) Size(fn byte) (uint32, uint32)

func (*Ram) Write

func (mem *Ram) Write(fn byte, addr uint32, val byte) error

Jump to

Keyboard shortcuts

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