Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ASMCLIP.ZIP
Filename : NUMDRV.ASM

 
Output of file : NUMDRV.ASM contained in archive : ASMCLIP.ZIP
; Title: NUMDRV.ASM
; Author: F. Ho
; Date: 5th August 1986
; Syntax: ? DRIVE()
; Note: - returns the number of logical drives for that system
;
;
public DRIVE ; routine accessible to the 'public'
;
extrn _RETNI:far
;
;
_prog segment
assume cs:_prog

DRIVE proc far ; far process
push bp
mov bp,sp

mov ah,19h ; report current drive
int 21h

mov dl,al ; copy current drive
mov ah,0eh ; set current drive
int 21h

pop bp

xor bx,bx ; zero out BX
mov bl,al ; move AL to BL
push bx
call _RETNI
pop bx


ret ; actual ret to caller
DRIVE endp

_prog ends
end
;
;


  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ASMCLIP.ZIP
Filename : NUMDRV.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/