external

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnrecognisedData = errors.New("unrecognised data")

error returned when data is not recognised at all

Functions

This section is empty.

Types

type CartridgeInsertor

type CartridgeInsertor struct {

	// whether controller should have two-buttons. NOTE: placeholder
	// until we add more sophisticated controller requirements (paddle, etc.)
	TwoButtonStick bool
	// contains filtered or unexported fields
}

func Fingerprint

func Fingerprint(d []uint8) (CartridgeInsertor, error)

func (CartridgeInsertor) ResetProcedure

func (c CartridgeInsertor) ResetProcedure() CartridgeReset

type CartridgeReset

type CartridgeReset struct {
	// if BypassBIOS is true then the normal BIOS initialisation procedure is bypassed
	BypassBIOS bool
}

type Context

type Context interface {
	elf.Context
	Rand8Bit() uint8
}

type Device

type Device struct {
	// contains filtered or unexported fields
}

func Create

func Create(ctx Context) *Device

func (*Device) Access

func (dev *Device) Access(write bool, address uint16, data uint8) (uint8, error)

func (*Device) BusChange

func (dev *Device) BusChange(address uint16, data uint8) error

func (*Device) Eject

func (dev *Device) Eject()

func (*Device) GetCoProcHandler

func (dev *Device) GetCoProcHandler() coprocessor.CartCoProcHandler

func (*Device) Insert

func (dev *Device) Insert(c CartridgeInsertor) error

func (*Device) IsEjected

func (dev *Device) IsEjected() bool

func (*Device) Label

func (dev *Device) Label() string

type Flat

type Flat struct {
	// contains filtered or unexported fields
}

func NewFlat

func NewFlat(_ Context, d []byte) (*Flat, error)

func (*Flat) Access

func (ext *Flat) Access(_ bool, address uint16, data uint8) (uint8, error)

func (*Flat) Label

func (ext *Flat) Label() string

type Supergame

type Supergame struct {
	// contains filtered or unexported fields
}

https://7800.8bitdev.org/index.php/ATARI_7800_BANKSWITCHING_GUIDE

"There are several different types of Atari's SuperGame bankswitching. It basically consists of 8 16KB banks (0-7) that can be mapped in at $8000-$bfff. Bank 7 always is fixed at $c000-$ffff. To map in a chosen bank into $8000-$bfff you write it's bank number (0-7) to any address between $8000-bfff."

func NewSupergame

func NewSupergame(_ Context, d []byte, banked bool, exrom bool, exram bool) (*Supergame, error)

func (*Supergame) Access

func (ext *Supergame) Access(write bool, address uint16, data uint8) (uint8, error)

func (*Supergame) Label

func (ext *Supergame) Label() string

Directories

Path Synopsis
Package ace implements the ELF cartridge mapper.
Package ace implements the ELF cartridge mapper.

Jump to

Keyboard shortcuts

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