CALL MERGE
This page was last modified 15:38, 18 May 2020 by Gdx. Based on work by Mars2000you.

Contents

Effect

Merges a BASIC or DATA program saved in ASCII mode on the specified Quick Disk device to the program currently in the MSX memory.

It implies that it has been saved with CALL SAVE and that parameter A has been used in case of a BASIC program.

Syntax

CALL MERGE ("QDn:<Filename>")

Parameters

QD specifies used device is the Quick Disk. Value n can vary between 0 and 7. By default, the loading will be made from Quick Disk device 0.

<Filename> is the file name to which you want to merge the program. The file name format is 8 characters followed by a point and an extension with 3 characters. This extension can be used to make the difference between BASIC files (extension BAS) and DATA files (extension DAT).

Effects of merging

- If both programs have same program lines, the lines of the program in the MSX memory are replaced by the lines of the loaded program
- The new program created by this merging stays in the MSX memory and can be handled as another BASIC program (especially, you can run it, save it, modify it)

Related to

CALL LOAD, CALL RUN, CALL SAVE

Compatibility

QuickDisk BASIC