internal

package
v0.0.0-...-6086a0c Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInitialModel

func GetInitialModel() model

Types

type Address

type Address uint16

type Cpu

type Cpu struct {
	Memory [1 << 16]byte
	PC     Address // Program counter
	SP     byte    // Stack pointer
	A      byte    // Register A
	X      byte    // Register X
	Y      byte    // Register Y
	S      byte    // Register for status, flag order: NV-BDIZC
}

func (*Cpu) LoadData

func (c *Cpu) LoadData(addr Address, data byte)

type Phase

type Phase int
const (
	Monitor Phase = iota
	ChangePage
	LoadData
)

Jump to

Keyboard shortcuts

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