z80ex

package
v0.0.0-...-be83087 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package z80ex contains Cgo bindings to the z80ex Z80 CPU emulation library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPU

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

func NewCPU

func NewCPU() *CPU

func (*CPU) Destroy

func (cpu *CPU) Destroy()

func (*CPU) Reset

func (cpu *CPU) Reset(clearMem bool)

func (*CPU) Run

func (cpu *CPU) Run(r io.Reader, w io.Writer) (steps uint64)

func (*CPU) RunBounded

func (cpu *CPU) RunBounded(r io.Reader, w io.Writer, maxT uint64) (steps uint64, halted bool)

func (*CPU) Trace

func (cpu *CPU) Trace(r io.Reader, w io.Writer) (steps uint64)

func (*CPU) WriteMem

func (cpu *CPU) WriteMem(data []byte, at int)

Jump to

Keyboard shortcuts

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