CALL CLRSD
This page was last modified 16:03, 24 September 2021 by Mars2000you.

Contents

Effect

Stops the background PSG or MSX-MUSIC music or sound effect played by from a file in Compile format.

This instruction does not modify the PSG initialisation for these files. It's recommended to use it to avoid a reset or hanging of the computer.

Syntax

CALL CLRSD

Example

10 BLOAD"MUSIC.OBJ",R
20 _PSGINT: _SOUT(2,0)
30 A$=INPUT$(1)
40 _CLRSD

Related to

CALL MGSND, CALL PSGINT, CALL SOUT

Compatibility

CompileBGM BASIC