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 ¶
- func NewMoviecart(ins *instance.Instance, loader cartridgeloader.Loader) (mapper.CartMapper, error)
- type Moviecart
- func (cart *Moviecart) Access(addr uint16, _ bool) (data uint8, mask uint8, err error)
- func (cart *Moviecart) AccessPassive(addr uint16, data uint8)
- func (cart *Moviecart) AccessVolatile(addr uint16, data uint8, _ bool) error
- func (cart *Moviecart) CopyBanks() []mapper.BankContent
- func (cart *Moviecart) GetBank(addr uint16) mapper.BankInfo
- func (cart *Moviecart) ID() string
- func (cart *Moviecart) MappedBanks() string
- func (cart *Moviecart) NumBanks() int
- func (cart *Moviecart) Patch(offset int, data uint8) error
- func (cart *Moviecart) Plumb()
- func (cart *Moviecart) Reset()
- func (cart *Moviecart) Snapshot() mapper.CartMapper
- func (cart *Moviecart) Step(clock float32)
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) AccessPassive ¶ added in v0.20.0
AccessPassive implements the mapper.CartMapper interface.
func (*Moviecart) AccessVolatile ¶ added in v0.20.0
AccessVolatile implements the mapper.CartMapper interface.
func (*Moviecart) CopyBanks ¶
func (cart *Moviecart) CopyBanks() []mapper.BankContent
CopyBanks implements the mapper.CartMapper interface.
func (*Moviecart) MappedBanks ¶ added in v0.15.0
MappedBanks implements the mapper.CartMapper interface.
func (*Moviecart) Plumb ¶
func (cart *Moviecart) Plumb()
Plumb 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.
Click to show internal directories.
Click to hide internal directories.