CALL DISK
This instruction is available in Ultra Basic and Workmate Basic.
Contents |
CALL DISK in Ultra Basic
Effect
Checks if the disk drive is connected with the MSX computer and stores a value in a variable.
If the returned value is zero, the disk drive is not connected.
Syntax
CALL DISK:<Variable>
Parameter
<Variable> is a numeric variable.
Example
CALL DISK:A: PRINT A
-1
Compatibility
CALL DISK in Workmate Basic
Effect
Gives several infos about the floppy disk inserted in the current default drive:
- number of bytes per sector
- number of sectors per cluster
- number of reserved sectors
- number of FATs
- number of directories
- number of sectors
- media ID-byte
- number of sectors per FAT
- number of sectors per track
- number of sides
- number of hidden sectors
- diskname
Related to
CALL DIR, CALL DRIVEOFF, CALL KILLDRIVE, CALL SETDOS, CALL SETDRIVE