CALL BGMON
This page was last modified 23:24, 17 May 2020 by Mars2000you. Based on work by Gdx and Rderooy.

Contents

Effect

Play background music using the BGM driver.

Normally if the format and the data of the driver do not match, a "Type Mismatch" error is returned but in some cases this may cause a runaway.

Syntax

CALL BGMON (<StartAddress>,<Loop>)

The last parameter is optional. Parameters can not end with a comma alone.

Parameters

<StartAddress> is the start address of the BGM data in RAM.

<Loop> is a value between 0 and 255 which indicates the number of times that the music will be played. 0 = play in loop.

Related to

CALL BGMOFF, CALL BGMTMP, CALL BGMTRS, CALL BGMVOL, CALL BGMWAIT

Compatibility

DM-System2 BASIC