CALL MPLAY
This page was last modified 02:42, 13 February 2021 by Mars2000you.

Contents

Effect

Plays a MSX-MUSIC/PSG song in Studio FM format, that has been loaded in memory with CALL MLOAD.

Syntax

CALL MPLAY(<MemoryAddress>)

Parameter

<MemoryAddress> is the RAM location where the song has been loaded with _MLOAD. It can be omitted when _MPLAY is used in direct mode.

Example

10 BLOAD"SFMDRV1.BIN",R
20 _MLOAD("BUNDY.MUS",&HB000)
30 _MPLAY(&HB000)
40 A$=INPUT$(1)
50 _MSTOP

Related to

CALL MFADE, CALL MLOAD, CALL MSTOP

Compatibility

StudioFM BASIC