Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File5.16.8 Dgetdrv TOS Name: »Disk get drive« - Obtain the current drive. Opcode: 25 Syntax: int16_t Dgetdrv ( VOID ); Description: The GEMDOS routine Dgetdrv obtains the current drive. Return value: The function returns a number, which is coded as follows: Value Meaning 0 Drive A: 1 Drive B: 2 Drive C: 3 Drive D: (etc.) Note: As of MagiC 3, drives from A: to Z:, i.e. values from 0 to 25, are permissible. Availability: All GEMDOS versions. Group: Directory functions See Also: Binding Dsetdrv _drvbits