moviecart

package
v0.19.2 Latest Latest
Warning

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

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

Documentation

Overview

Package moviecart implements the Movie Cart special cartridge type. The code and schematics can be found on Github:

https://github.com/lodefmode/moviecart/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMoviecart

func NewMoviecart(ins *instance.Instance, loader cartridgeloader.Loader) (mapper.CartMapper, error)

Types

type Moviecart

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

func (*Moviecart) CopyBanks

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

CopyBanks implements the mapper.CartMapper interface.

func (*Moviecart) GetBank

func (cart *Moviecart) GetBank(addr uint16) mapper.BankInfo

GetBank implements the mapper.CartMapper interface.

func (*Moviecart) ID

func (cart *Moviecart) ID() string

ID implements the mapper.CartMapper interface.

func (*Moviecart) Listen

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

Listen implements the mapper.CartMapper interface.

func (*Moviecart) MappedBanks added in v0.15.0

func (cart *Moviecart) MappedBanks() string

MappedBanks implements the mapper.CartMapper interface.

func (*Moviecart) NumBanks

func (cart *Moviecart) NumBanks() int

NumBanks implements the mapper.CartMapper interface.

func (*Moviecart) Patch

func (cart *Moviecart) Patch(offset int, data uint8) error

Patch implements the mapper.CartMapper interface.

func (*Moviecart) Plumb

func (cart *Moviecart) Plumb()

Plumb implements the mapper.CartMapper interface.

func (*Moviecart) Read

func (cart *Moviecart) Read(addr uint16, active bool) (data uint8, err error)

Read implements the mapper.CartMapper interface.

func (*Moviecart) Reset

func (cart *Moviecart) Reset()

Reset implements the mapper.CartMapper interface.

func (*Moviecart) Snapshot

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

Snapshot implements the mapper.CartMapper interface.

func (*Moviecart) Step

func (cart *Moviecart) Step(clock float32)

Step implements the mapper.CartMapper interface.

func (*Moviecart) Write

func (cart *Moviecart) Write(addr uint16, data uint8, active 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