Modules/scc

From MSX Game Library

< Modules

scc

Code: scc.h

Category: Audio

Dependencies: None

Samples:

The scc module provides direct access to the functions of the Konami SCC sound processor.

Usage

To use this module, include "scc.h" in your source code, and add "scc" to the modules list (LibModules) in your project's configuration file (project_config.js).


Samples

See module use cases in the sample programs:

Settings

Library configuration (msxgl_config.h):

// SCC options
#define SCC_USE_EXTA				TRUE	// Add helper functions to handle PSG settings
#define SCC_USE_RESUME				TRUE	// Add function to allow playback pause and resume
// - SCC_SLOT_DIRECT .............. Program on a SCC cartridge
// - SCC_SLOT_FIXED	............... Fixed slot-id (non-expanded second cartridge slot)
// - SCC_SLOT_USER ................ Defined by the user
// - SCC_SLOT_AUTO ................ First auto-detected cartridge
#define SCC_SLOT_MODE				SCC_SLOT_AUTO

Dependencies

Dependency on other modules: None

Documentation