Documentation
¶
Overview ¶
Package ace implements the ELF cartridge mapper.
ARM ELF/relocation information in the legacy ARM development suite. Convenient copy of relevant document (using the ARM document numbering as reference in the comments - "SWS ESPC 0003 A-08")
Index ¶
- Constants
- type Context
- type DisasmAnnotation
- type Elf
- func (cart *Elf) ARMinterrupt(addr uint32, val1 uint32, val2 uint32) (arm.ARMinterruptReturn, error)
- func (cart *Elf) Access(_ bool, addr uint16, _ uint8) (uint8, error)
- func (cart *Elf) AnnotateDisassembly(e *arm.DisasmEntry) fmt.Stringer
- func (cart *Elf) BusChange(addr uint16, data uint8) error
- func (cart *Elf) BusStuff() (uint8, bool)
- func (cart *Elf) CoProcExecutionState() coprocessor.CoProcExecutionState
- func (cart *Elf) GetCoProc() coprocessor.CartCoProc
- func (cart *Elf) Label() string
- func (cart *Elf) NumBanks() int
- func (cart *Elf) Section(name string) ([]uint8, uint32)
- func (cart *Elf) SetYieldHook(hook coprocessor.CartYieldHook)
- func (cart *Elf) Step(clock float32)
Constants ¶
View Source
const ( CartridgeBits = 0x0fff OriginCart = 0xf000 Memtop = 0x1fff )
View Source
const ( ADDR_IDR = 0x10 DATA_IDR = 0x20 DATA_ODR = 0x30 DATA_MODER = 0x40 GPIO_MEMTOP = 0x50 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisasmAnnotation ¶
type DisasmAnnotation struct {
StrongarmFunction string
}
DisasmAnnotation is used as part of the implementation of the arm.CartridgeHookDisassembly interface
func (DisasmAnnotation) String ¶
func (a DisasmAnnotation) String() string
type Elf ¶
type Elf struct {
// contains filtered or unexported fields
}
func (*Elf) ARMinterrupt ¶
func (*Elf) AnnotateDisassembly ¶
func (cart *Elf) AnnotateDisassembly(e *arm.DisasmEntry) fmt.Stringer
AnnotateDisassembly implements the arm.CartridgeHookDisassembly interface
func (*Elf) CoProcExecutionState ¶
func (cart *Elf) CoProcExecutionState() coprocessor.CoProcExecutionState
func (*Elf) GetCoProc ¶
func (cart *Elf) GetCoProc() coprocessor.CartCoProc
func (*Elf) SetYieldHook ¶
func (cart *Elf) SetYieldHook(hook coprocessor.CartYieldHook)
Click to show internal directories.
Click to hide internal directories.