Documentation ¶
Overview ¶
Package cdf implemnents the various CDF type cartridge mappers including CDFJ. It was developed with reference to Darrell Spice's CDJF blog and the source to the various example ROMs therein
https://atariage.com/forums/forum/262-cdfj/
Also, it seems that most complete survey of details for this cartridge type is the Stella source code. Therefore, I have resorted to the study of the CartCDF.cxx file as found in Stella 6.4.
Note that all CDF formats rely on the arm7 package.
Index ¶
Constants ¶
const ( DSCOMM = 32 DSJMP = 33 )
registers should be accessed via readDatastreamPointer() and updateDatastreamPointer(). Actually reading the data in the data stream should be done by streamData().
The following values can be used for convenience. The numbered datastreams can be accessed numerically as expected.
The AMPLITUDE register must be accessed with version.amplitude because it can change depending on the CDF version being emulated.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registers ¶
type Registers struct { MusicFetcher [3]musicDataFetcher FastFetch bool SampleMode bool Datastream [8]datastream }
Registers implements mappers.Registers.
type Static ¶
type Static struct {
// contains filtered or unexported fields
}
Static implements the bus.CartStatic interface.
func (*Static) MapAddress ¶
MapAddress implements the arm7tdmi.SharedMemory interface.
func (*Static) ResetVectors ¶
ResetVectors implements the arm7tdmi.SharedMemory interface.