Documentation ¶
Overview ¶
Package ace implements the ACE cartridge mapper.
Index ¶
- Constants
- func NewAce(instance *instance.Instance, version string, data []byte) (mapper.CartMapper, error)
- type Ace
- func (cart *Ace) ARMinterrupt(addr uint32, val1 uint32, val2 uint32) (arm.ARMinterruptReturn, error)
- func (cart *Ace) Access(addr uint16, _ bool) (uint8, uint8, error)
- func (cart *Ace) AccessPassive(addr uint16, data uint8)
- func (cart *Ace) AccessVolatile(addr uint16, data uint8, _ bool) error
- func (cart *Ace) BreakpointsEnable(enable bool)
- func (cart *Ace) BusStuff() (uint8, bool)
- func (cart *Ace) CoProcID() string
- func (cart *Ace) CoProcRead16bit(addr uint32) (uint16, bool)
- func (cart *Ace) CoProcRead32bit(addr uint32) (uint32, bool)
- func (cart *Ace) CoProcRead8bit(addr uint32) (uint8, bool)
- func (cart *Ace) CoProcRegister(n int) (uint32, bool)
- func (cart *Ace) CoProcRegisterSet(n int, value uint32) bool
- func (cart *Ace) CoProcStackFrame() uint32
- func (cart *Ace) CoProcState() mapper.CoProcState
- func (cart *Ace) CopyBanks() []mapper.BankContent
- func (cart *Ace) ExecutableOrigin() uint32
- func (cart *Ace) GetBank(_ uint16) mapper.BankInfo
- func (cart *Ace) GetStatic() mapper.CartStatic
- func (cart *Ace) ID() string
- func (cart *Ace) MappedBanks() string
- func (cart *Ace) NumBanks() int
- func (cart *Ace) Patch(_ int, _ uint8) error
- func (cart *Ace) Plumb()
- func (cart *Ace) PlumbFromDifferentEmulation()
- func (cart *Ace) PutStatic(segment string, idx int, data uint8) bool
- func (cart *Ace) Reset()
- func (cart *Ace) SetDeveloper(dev mapper.CartCoProcDeveloper)
- func (cart *Ace) SetDisassembler(disasm mapper.CartCoProcDisassembler)
- func (cart *Ace) SetYieldHook(hook mapper.CartYieldHook)
- func (cart *Ace) Snapshot() mapper.CartMapper
- func (cart *Ace) Step(clock float32)
Constants ¶
const ( DATA_MODER = 0x40020800 ADDR_IDR = 0x40020c10 DATA_IDR = 0x40020810 DATA_ODR = 0x40020814 DATA_MODER_idx = 0 ADDR_IDR_idx = 4 DATA_IDR_idx = 8 DATA_ODR_idx = 12 GPIO_SIZE = 16 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ace ¶
type Ace struct {
// contains filtered or unexported fields
}
Ace implements the mapper.CartMapper interface.
func (*Ace) ARMinterrupt ¶
func (cart *Ace) ARMinterrupt(addr uint32, val1 uint32, val2 uint32) (arm.ARMinterruptReturn, error)
implements arm.CartridgeHook interface.
func (*Ace) AccessPassive ¶ added in v0.20.0
AccessPassive implements the mapper.CartMapper interface.
func (*Ace) AccessVolatile ¶ added in v0.20.0
AccessVolatile implements the mapper.CartMapper interface.
func (*Ace) BreakpointsEnable ¶ added in v0.20.0
BreakpointsEnable implements the mapper.CartCoProc interface.
func (*Ace) CoProcRead16bit ¶ added in v0.20.0
CoProcRead16bit implements the mapper.CartCoProc interface.
func (*Ace) CoProcRead32bit ¶ added in v0.20.0
CoProcRead32bit implements the mapper.CartCoProc interface.
func (*Ace) CoProcRead8bit ¶ added in v0.20.0
CoProcRead8bit implements the mapper.CartCoProc interface.
func (*Ace) CoProcRegister ¶ added in v0.20.0
CoProcRegister implements the mapper.CartCoProc interface.
func (*Ace) CoProcRegisterSet ¶ added in v0.20.0
CoProcRegister implements the mapper.CartCoProc interface.
func (*Ace) CoProcStackFrame ¶ added in v0.20.0
CoProcStackFrame implements the mapper.CartCoProc interface.
func (*Ace) CoProcState ¶ added in v0.20.0
func (cart *Ace) CoProcState() mapper.CoProcState
CoProcState implements the mapper.CartCoProc interface.
func (*Ace) CopyBanks ¶
func (cart *Ace) CopyBanks() []mapper.BankContent
IterateBank implements the mapper.CartMapper interface.
func (*Ace) ExecutableOrigin ¶ added in v0.20.0
ExecutableOrigin implements the mapper.CartCoProcNonRelocatable interface.
func (*Ace) GetStatic ¶ added in v0.20.0
func (cart *Ace) GetStatic() mapper.CartStatic
GetStatic implements the mapper.CartStaticBus interface.
func (*Ace) MappedBanks ¶
MappedBanks implements the mapper.CartMapper interface.
func (*Ace) PlumbFromDifferentEmulation ¶
func (cart *Ace) PlumbFromDifferentEmulation()
Plumb implements the mapper.CartMapper interface.
func (*Ace) SetDeveloper ¶ added in v0.20.0
func (cart *Ace) SetDeveloper(dev mapper.CartCoProcDeveloper)
SetDeveloper implements the mapper.CartCoProc interface.
func (*Ace) SetDisassembler ¶ added in v0.20.0
func (cart *Ace) SetDisassembler(disasm mapper.CartCoProcDisassembler)
SetDisassembler implements the mapper.CartCoProc interface.
func (*Ace) SetYieldHook ¶ added in v0.20.0
func (cart *Ace) SetYieldHook(hook mapper.CartYieldHook)
SetYieldHook implements the mapper.CartCoProc interface.
func (*Ace) Snapshot ¶
func (cart *Ace) Snapshot() mapper.CartMapper
Snapshot implements the mapper.CartMapper interface.