debug

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Zlib Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnableDebug bool
	Stream      io.ReadWriter = &ioStream{}
	Log                       = log.New(Stream, "", 0)
)
View Source
var ErrQuit = errors.New("QUIT!")

Functions

func MuteLogging

func MuteLogging(b bool)

func OpcodeName

func OpcodeName(opcode byte) string

Types

type Device

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

func (*Device) Break

func (m *Device) Break()

func (*Device) Continue

func (m *Device) Continue()

func (*Device) Install

func (m *Device) Install(p processor.Processor) error

func (*Device) Name

func (m *Device) Name() string

func (*Device) ReadByte

func (m *Device) ReadByte(addr memory.Pointer) byte

func (*Device) Reset

func (m *Device) Reset()

func (*Device) Step

func (m *Device) Step(cycles int) error

func (*Device) WriteByte

func (m *Device) WriteByte(addr memory.Pointer, data byte)

Jump to

Keyboard shortcuts

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