Versions in this module Expand all Collapse all v0 v0.15.0 Nov 22, 2021 v0.14.2 Oct 15, 2021 v0.14.1 Sep 30, 2021 v0.14.0 Sep 16, 2021 Changes in this version + const Clk + const CycleLimit + const I + const N + const S type ARM + Icycle func() + Ncycle func(bus busAccess, addr uint32) + Scycle func(bus busAccess, addr uint32) type ARMinterruptReturn + NumAdditionalCycles int + NumMemAccess int + type BranchTrail int + const BranchTrailFlushed + const BranchTrailNotUsed + const BranchTrailUsed + type DisasmEntry struct + Address string + BranchTrail BranchTrail + Cycles int + CyclesSequence string + ExecutionNotes string + Location string + MAMCR int + MergedIS bool + Operand string + Operator string + func (e DisasmEntry) Key() string + func (e DisasmEntry) String() string + type DisasmSummary struct + I int + ImmediateMode bool + N int + S int + func (s DisasmSummary) String() string + type MemoryMap struct + APBDIV uint32 + Flash32kMemtop uint32 + Flash64kMemtop uint32 + FlashOrigin uint32 + MAMCR uint32 + MAMTIM uint32 + Model string + PeripheralsMemtop uint32 + PeripheralsOrigin uint32 + SRAMOrigin uint32 + TIMERcontrol uint32 + TIMERprescale uint32 + TIMERprescaleMax uint32 + TIMERvalue uint32 + func NewMemoryMap(model string) MemoryMap v0.12.1 Jun 18, 2021 Changes in this version + const CoProcID + const Flash64kMemtop + const MAMTIM + type Cycles struct + C float32 + I float32 + Imerged float32 + MAMCR uint32 + Ndata float32 + Npc float32 + PCinSRAM bool + Sdata float32 + Spc float32 + Spcmerged float32 + func (c Cycles) String() string v0.10.3 Apr 25, 2021 v0.10.2 Apr 24, 2021 v0.10.1 Apr 5, 2021 v0.8.2 Jan 31, 2021 Changes in this version + const Flash32kMemtop + const FlashOrigin + const InternalClk + const MAMCR + const PeripheralsMemtop + const PeripheralsOrigin + const SRAM8kMemtop + const SRAMOrigin + const TIMERcontrol + const TIMERvalue v0.8.1 Jan 24, 2021 Changes in this version type ARM + func (arm *ARM) Plumb() error v0.8.0 Jan 19, 2021 Changes in this version + type ARM struct + func NewARM(mem SharedMemory, hook CartridgeHook) *ARM + func (arm *ARM) CoProcID() string + func (arm *ARM) PlumbSharedMemory(mem SharedMemory) + func (arm *ARM) Run() error + func (arm *ARM) SetDisassembler(disasm mapper.CartCoProcDisassembler) + func (arm *ARM) Step(clock float32) + func (arm *ARM) String() string + type ARMinterruptReturn struct + InterruptEvent string + InterruptServiced bool + SaveRegister uint32 + SaveResult bool + SaveValue uint32 + type CartridgeHook interface + ARMinterrupt func(addr uint32, val1 uint32, val2 uint32) (ARMinterruptReturn, error) + type SharedMemory interface + MapAddress func(addr uint32, write bool) (*[]byte, uint32) + ResetVectors func() (uint32, uint32, uint32)