Difference between revisions of "Modules/scc"
From MSX Game Library
< Modules
(Created page with "{{MODULE |name=scc |category=Device |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg |dependency1= |dependency2= |dependency3= |sample1=s_v...") |
|||
Line 1: | Line 1: | ||
{{MODULE | {{MODULE | ||
|name=scc | |name=scc | ||
− | |category= | + | |category=Audio |
|image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | |image=raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/img/sample_vgm.jpg | ||
|dependency1= | |dependency1= |
Latest revision as of 23:08, 15 January 2024
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