Versions in this module Expand all Collapse all v1 v1.0.0 Jul 29, 2026 Changes in this version + type FlatMemory struct + func NewFlatMemory() *FlatMemory + func (m *FlatMemory) Peek(address uint32) uint8 + func (m *FlatMemory) PeekCode(address uint32) uint8 + func (m *FlatMemory) Poke(address uint32, value uint8) + type Memory interface + Peek func(address uint32) uint8 + PeekCode func(address uint32) uint8 + Poke func(address uint32, value uint8) + type State struct + func NewM68000(m Memory) *State + func (s *State) DisasmInstruction(pc uint32) (string, uint32) + func (s *State) ExecuteInstruction() + func (s *State) GetA(i int) uint32 + func (s *State) GetCycles() uint64 + func (s *State) GetD(i int) uint32 + func (s *State) GetPC() uint32 + func (s *State) GetSR() uint16 + func (s *State) GetTrace() bool + func (s *State) IsSupervisor() bool + func (s *State) Load(r io.Reader) error + func (s *State) Reset() + func (s *State) Save(w io.Writer) error + func (s *State) SetIRQ(level uint8) + func (s *State) SetMemory(mem Memory) + func (s *State) SetPC(pc uint32) + func (s *State) SetTrace(trace bool)