zx

package
v0.0.0-...-33ef502 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadZ80File

func LoadZ80File(fileName string) emulator.Machine

func NewMemory

func NewMemory(mode MemoryMode) *memory

func NewULA

func NewULA(mem *memory, bus z80.Bus, plus bool) *ula

func NewZX

func NewZX(mem *memory, plus, cas, ay bool) *zx

func NewZX128K

func NewZX128K() emulator.Machine

func NewZX48K

func NewZX48K() emulator.Machine

func NewZXFDC765

func NewZXFDC765() *fdc765

func NewZXPlus3

func NewZXPlus3() emulator.Machine

Types

type MemoryMode

type MemoryMode int
const (
	ZX48K   MemoryMode = 0
	ZX128K  MemoryMode = 1
	ZXPLUS3 MemoryMode = 2
)

type ZX

type ZX interface {
	Debugger() emulator.Debugger
	OnKey(key interface{})
	LoadZ80File(fileName string)
}

Jump to

Keyboard shortcuts

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