CALL INSERTDISK
This page was last modified 15:45, 15 September 2017 by Mars2000you.

Contents

Effect

Inserts a new disk image in the USB virtual drive.

Note: It's currently limited to disk images of a maximum size of 720kB.

Syntax

CALL INSERTDISK ("<disk name>")

Parameter

<disk name> is the name of the new disk image.

Using

If the instruction is correctly executedy, you can access the list of files with FILES, and normally use typical instructions, such as RUN, LOAD, SAVE, BLOAD, BSAVE, etc.

When you restart the USB virtual drive, the last used disk image will be automatically inserted again, but you can temporarily cancel that by pressing the ESC key during hardware initialization. The system saves indeed the name of this disk image in the USBMSX.INI file.

Example

CALL INSERTDISK ("TEST.DSK")

Related to

CALL EJECT, CALL REBOOT, FILES

Compatibility

RookieDrive BASIC