Contents |
Effect
Returns to MSX-BASIC / Disk BASIC environment and can optionally start a BASIC program.
Notes:
- if a MSX-DOS 2 / Nextor RAM Disk has been set up with RAMDISK, then it can still be used from BASIC
- MSX-DOS 2 environment variables are usable from BASIC using standard BDOS calls.
Syntax
Under MSX-DOS 1
BASIC <BasicProgram>
The parameter is optional
Under MSX-DOS 2 / Nextor
BASIC <Device>:\<Path>\<BasicProgram>
All parameters are optional.
Note:
- 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. 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. This parameter is only available under MSX-DOS 2 / Nextor and It can only be a disk drive.
If you don't specify the drive, the computer will use 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 BASIC program you want to start. Each folder name in path are separate by a backslash (\). This parameter is only available under MSX-DOS 2 / Nextor.
<BasicProgram> is the complete name of the BASIC program that you want to start. It must include the extension (.BAS, .LDR, etc...) when this extension is present. If you don't specify a BASIC program, you will simply go to the MSX-BASIC screen.
Examples
Under MSX-DOS 1 and higher
A>BASIC DEMO.BAS
Under MSX-DOS 2 / Nextor
A>BASIC B:\DEMOS\DEMO1.BAS
Related to
Compatibility
MSX-DOS 1 with COMMAND.COM, MSX-DOS 2 / Nextor with COMMAND2.COM v2.20 and higher