libsidplayfp  1.8.7
Public Member Functions | List of all members
psiddrv Class Reference

Public Member Functions

 psiddrv (const SidTuneInfo *tuneInfo)
 
void powerOnDelay (uint_least16_t delay)
 
bool drvReloc ()
 
void install (sidmemory *mem, uint8_t video) const
 
const char * errorString () const
 
uint_least16_t driverAddr () const
 
uint_least16_t driverLength () const
 

Member Function Documentation

§ drvReloc()

bool psiddrv::drvReloc ( )

Relocate the driver.

Returns
false if something's wrong, check errorString for error details

§ errorString()

const char* psiddrv::errorString ( ) const
inline

Get a detailed error message.

Returns
a pointer to the string

§ install()

void psiddrv::install ( sidmemory mem,
uint8_t  video 
) const

Install the driver. Must be called after the tune has been placed in memory.

Parameters
memthe c64 memory interface
videothe PAL/NTSC switch value, 0: NTSC, 1: PAL

§ powerOnDelay()

void psiddrv::powerOnDelay ( uint_least16_t  delay)
inline

Set the power on delay cycles.

Parameters
delaythe delay

The documentation for this class was generated from the following files: