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) CopyBanks() []mapper.BankContent
- func (cart *Moviecart) GetBank(addr uint16) mapper.BankInfo
- func (cart *Moviecart) ID() string
- func (cart *Moviecart) Listen(addr uint16, data uint8)
- 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) Read(addr uint16, active bool) (data uint8, err error)
- func (cart *Moviecart) Reset()
- func (cart *Moviecart) Snapshot() mapper.CartMapper
- func (cart *Moviecart) Step(clock float32)
- func (cart *Moviecart) Write(addr uint16, data uint8, active bool, poke bool) error
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) 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.