format

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCdt

func NewCdt() tape.Tape

NewCdt creates a new CDT tape

Types

type Snapshot

type Snapshot struct {
	z80.State // Z80 state

	RomSelect byte             // ROM selection
	Memory    [64 * 0x400]byte // CPC RAM (64k)
	// contains filtered or unexported fields
}

Snapshot CPC snapshot version 1

func LoadSNA

func LoadSNA(data []byte) *Snapshot

LoadSNA loads snap from SNA data format

func NewSnapshot

func NewSnapshot() *Snapshot

NewSnapshot returns a new snapshop

func (*Snapshot) SaveSNA

func (snap *Snapshot) SaveSNA() []byte

SaveSNA saves CPC464 snapshot to SNA data format

Jump to

Keyboard shortcuts

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