CALL CASRUN
This page was last modified 18:44, 26 May 2023 by Mars2000you.

Contents

Effect

Loads and runs the first file found on the specified tape image (CAS file).

Notes:

  • It's the easiest way to load and run games on tape image when you are not too familiar with cassettes...
  • Most games on tape have been created for MSX1; to avoid problems with loaders on MSX2, it's recommended to emulate a MSX1 machine on MSX turbo R with the rMSX emulator
  • Many games on tape require maximum free memory; for that, you need to start rMSX with the NODISK parameter or to press the SHIFT key while booting the MSX1 or MSX2 computer emulated by rMSX

Syntax

CALL CASRUN [("<Device>:\<path>\<fFilename.CAS>")]

Notes:

  • Character backslash (\) serves as a separator between the folders and the file name in MSX-DOS2. You don't have to put it after the colon of the device name.
  • Character backslash is replaced by the character yen (¥) on Japanese MSX or the character won (₩) on Korean MSX.

Parameters

<Device> is the name for used device (see table below).

If you don't specify the drive, the instruction will be applied to the currently active drive (by default, it's drive A:)

Device type Device name Remark
Disk drive A, B, C, D, E, F, G, H A floppy disk interface can control until 2 drives.


<Path> is used to specify the location in folders of the CAS file to insert. Each folder name in path are separate by a backslash (\). This parameter is only available in version 2 of Disk BASIC.

Dot (.) represents the current working directory, Dot Dot (..) represents the directory before the current (one level up).

<Filename.CAS> is the name of the CAS file to insert, the first program found on the tape image will be loaded and runned.

If you don't specify the CAS file, the instruction will load and run the first program found on the cassette currently inserted with CALL CHCAS.

Example

_CASRUN ("A:\GAMES\CAS\ARKANOID.CAS")

Related to

CALL CHCAS, CALL CHDIR, CALL FILES, FILES

Compatibility

RMSX BASIC