CALL PSGINT
This page was last modified 23:11, 20 August 2021 by Mars2000you.

Contents

Effect

Initialises the BGM routine and determines how PSG can be used with a music file in the Compile format. The PSG mode can be forced when MSX-MUSIC is present or will be automatically selected when MSX-MUSIC is not present.

This instruction must be used first.

Syntax

CALL PSGINT(<Mode>)

Parameter

<Mode> is a number between 0 and 255:

  • 0 to force the PSG mode when MSX-MUSIC is present
  • any other number to select the PSG mode only when MSX-MUSIC is not present

When the mode is not specified, PSG will only be used if MSX-MUSIC is not available.

Related to

CALL CLRSD, CALL MGSND, CALL SOUT

Compatibility

CompileBGM BASIC