dpcplus

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: GPL-3.0, GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package dpcplus implements the DPC+ cartridge mapper. It was developed by adapting the existing DPC mapper, which is well documented. Differences to this extended mapper were learned by studying the following URLs.

https://atariage.com/forums/blogs/entry/11712-dpc-arm-development/?tab=comments#comment-27116

https://atariage.com/forums/topic/163834-harmony-dpc-arm-programming/

The only DPC+ ROMs that I am aware of that don't use the Harmony ARM coprocessor is, Chaotic Grill and the ROM titled "DPC+demo.bin" by Darrell Sprice.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDPCplus

func NewDPCplus(prefs *preferences.Preferences, data []byte) (mapper.CartMapper, error)

NewDPCplus is the preferred method of initialisation for the harmony type.

Types

type Registers

type Registers struct {
	Fetcher      [8]dataFetcher
	FracFetcher  [8]fractionalDataFetcher
	MusicFetcher [3]musicDataFetcher

	// random number generator
	RNG randomNumberFetcher

	// fast fetch read mode
	FastFetch bool
}

Registers implements the bus.CartRegisters interface.

func (Registers) String

func (r Registers) String() string

type State

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

func (*State) Snapshot

func (s *State) Snapshot() *State

type Static

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

Static implements the bus.CartStatic interface.

func (*Static) MapAddress

func (stc *Static) MapAddress(addr uint32, write bool) (*[]byte, uint32)

MapAddress implements the arm7tdmi.SharedMemory interface.

func (*Static) ResetVectors

func (stc *Static) ResetVectors() (uint32, uint32, uint32)

ResetVectors implements the arm7tdmi.SharedMemory interface.

func (*Static) Snapshot

func (stc *Static) Snapshot() *Static

Jump to

Keyboard shortcuts

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