Get station no. of current File Server                    

Server

Y

Station

Y

Interrupt

21h

Input

Output

AX FFh 91h   File Server Stat AX
BX         BX
CX         CX
DX         DX
Remarks :

        You may use this function and "Get station address" ( AX = FF82h)
        for determining that the computer you are using is either a File
        Server or a WorkStation.

                mov     ax, 0FF91h
                int     21h
                mov     MyFileServerStation, al
                mov     ax, 0FF82h
                int     21h
                cmp     al, MyFileServerStation
                je      IsOnTheFileServerNow

        IsOnTheWorkStationNow:
                :       :
                :       :
        IsOnTheFileServerNow:
                :       :
                :       :


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .