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()Drvmap() BIOSSyntaxULONG Drvmap( VOID )
Function Drvmap() returns a list of mounted drives.
Opcode 10 (0x0A)
Availability All TOSversions.
Parameters None.
Binding move.w #$0A,-(sp)
trap #13
addq.l #2,sp
Return Value Drvmap() returns a ULONG bitmap of mounted drives. For each
drive present, its bit is enabled. Drive 'A:' is bit 0,
drive 'B:' is bit 1, and so on.
Comments Single floppy systems will indicate that two drives are
available since both drives can actually be addressed.
A request for drive 'B:' will simply cause TOS to ask the
user to insert 'Disk B' and provide automatic handling
routines for all disk swapping.
See Also Dsetdrv()