Documentation
¶
Index ¶
- Variables
- type CartridgeInsertor
- type CartridgeReset
- type Context
- type Device
- func (dev *Device) Access(write bool, address uint16, data uint8) (uint8, error)
- func (dev *Device) BusChange(address uint16, data uint8) error
- func (dev *Device) Eject()
- func (dev *Device) GetCoProcHandler() coprocessor.CartCoProcHandler
- func (dev *Device) Insert(c CartridgeInsertor) error
- func (dev *Device) IsEjected() bool
- func (dev *Device) Label() string
- type Flat
- type Supergame
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 just one-buttons. NOTE: placeholder
// until we add more sophisticated controller requirements (paddle, etc.)
OneButtonStick bool
// contains filtered or unexported fields
}
func Fingerprint ¶
func Fingerprint(filename string) (CartridgeInsertor, error)
func (CartridgeInsertor) Data ¶ added in v0.4.2
func (c CartridgeInsertor) Data() []uint8
func (CartridgeInsertor) Filename ¶ added in v0.4.2
func (c CartridgeInsertor) Filename() string
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 Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) GetCoProcHandler ¶
func (dev *Device) GetCoProcHandler() coprocessor.CartCoProcHandler
func (*Device) Insert ¶
func (dev *Device) Insert(c CartridgeInsertor) error
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 ¶
Click to show internal directories.
Click to hide internal directories.