home *** CD-ROM | disk | FTP | other *** search
- ; Program: NETTEST
- ; Purpose: Used to test if the Network shell has been loaded.
- ; Author: Dave Holden
- ; Version: 1.00 06-19-90
-
- CODE SEGMENT
- ASSUME CS:CODE,DS:CODE
- ORG 100h
-
- BEG: MOV AH,0EEh ; Get Station Address function (Novell)
- INT 21h
- CMP AX,0EE00h ; If Station Address is returned in AX,
- JNE EXIT ; then jump to EXIT
- MOV AH,4Ch ; Else, Terminate function
- MOV AL,00h ; Set ERRORLEVEL to 0 (shell not loaded)
- INT 21h
-
- EXIT: MOV AH,4Ch ; Terminate function
- MOV AL,01h ; Set ERRORLEVEL to 1 (shell loaded)
- INT 21h
-
- CODE ENDS
- END BEG
-