Documentation ¶ Index ¶ func GetInitialModel() model type Address type Cpu func (c *Cpu) LoadData(addr Address, data byte) type Phase 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 ) Source Files ¶ View all Source files bubbletea.go changepage.go cpu.go loaddata.go monitor.go Click to show internal directories. Click to hide internal directories.