home *** CD-ROM | disk | FTP | other *** search
- COMMENT ~
- DDR.COM Copyright, 1984 by Your Own Devices
- JDS, 4 FEB 84
-
- To be used in a batch file to read the Default DRive.
- Sets a return code of 0=A, 1=B, ....
-
- ~
-
- CODE SEGMENT PARA PUBLIC
- ;
- MOV AH,19H ; Setup to call DOS fn 19, "Current Disk"
- INT 21H ; DOS fn interrupt
- MOV AH,4CH ; Result of fn 19 in AL is the result code we want
- INT 21H ; Call the fn and return
- ;
- CPYRGHT DB 'Copyright 1984, Your Own Devices',13,10,0
- CODE ENDS
- END