Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileDsetdrv()Dgetdrv() GEMDOSSyntaxWORD Dgetdrv( VOID )
Function Dgetdrv() returns the current GEMDOS drive code.
Opcode 25 (0x19)
Availability All GEMDOSversions.
Binding move.w #$19,-(sp)
trap #1
addq.l #2,sp
Return Value Dgetdrv() returns the current GEMDOS drive code. Drive 'A:'
is represented by a return value of 0, 'B:' by a return
value of 1, and so on.
See Also Dsetdrv()