ace

package
v0.19.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2022 License: GPL-3.0, GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package ace implements the ACE cartridge mapper.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAce

func NewAce(instance *instance.Instance, version string, data []byte) (mapper.CartMapper, error)

NewAce is the preferred method of initialisation for the Ace type.

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) BusStuff

func (cart *Ace) BusStuff() (uint8, bool)

BusStuff implements the mapper.CartBusStuff interface.

func (*Ace) CopyBanks

func (cart *Ace) CopyBanks() []mapper.BankContent

IterateBank implements the mapper.CartMapper interface.

func (*Ace) GetBank

func (cart *Ace) GetBank(_ uint16) mapper.BankInfo

GetBank implements the mapper.CartMapper interface.

func (*Ace) ID

func (cart *Ace) ID() string

ID implements the mapper.CartMapper interface.

func (*Ace) Listen

func (cart *Ace) Listen(addr uint16, data uint8)

Listen implements the mapper.CartMapper interface.

func (*Ace) MappedBanks

func (cart *Ace) MappedBanks() string

MappedBanks implements the mapper.CartMapper interface.

func (*Ace) NumBanks

func (cart *Ace) NumBanks() int

NumBanks implements the mapper.CartMapper interface.

func (*Ace) Patch

func (cart *Ace) Patch(_ int, _ uint8) error

Patch implements the mapper.CartMapper interface.

func (*Ace) Plumb

func (cart *Ace) Plumb()

Plumb implements the mapper.CartMapper interface.

func (*Ace) PlumbFromDifferentEmulation

func (cart *Ace) PlumbFromDifferentEmulation()

Plumb implements the mapper.CartMapper interface.

func (*Ace) Read

func (cart *Ace) Read(addr uint16, passive bool) (uint8, error)

Read implements the mapper.CartMapper interface.

func (*Ace) Reset

func (cart *Ace) Reset()

Reset implements the mapper.CartMapper interface.

func (*Ace) Snapshot

func (cart *Ace) Snapshot() mapper.CartMapper

Snapshot implements the mapper.CartMapper interface.

func (*Ace) Step

func (cart *Ace) Step(clock float32)

Step implements the mapper.CartMapper interface.

func (*Ace) Write

func (cart *Ace) Write(addr uint16, data uint8, passive bool, poke bool) error

Write implements the mapper.CartMapper interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL