windows-nt/Source/XPSP1/NT/base/mvdm/dos/v86/redir/int5c.inc

67 lines
1.5 KiB
PHP
Raw Normal View History

2020-09-26 03:20:57 -05:00
page ,132
if 0
/*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
int5c.inc
Abstract:
This module contains the int 5c/Netbios equates
Author:
Colin Watson (colinw) 5-Dec-1991
Environment:
Dos mode only
Revision History:
05-Dec-1991 colinw
Created
--*/
endif
;
; Use Irql 14 (normally the hard disk drive) to pretend to be Irql used by the network
; adapter. Irql 14 is not used for the disk in the emulation system. Utilizing 14 means
; that there will be no clash of interrupts with user supplied virtual devices.
;
ifdef NEC_98
NETWORK_INTERRUPT equ 0dh
else
NETWORK_INTERRUPT equ 72h
endif
;
; Network Control Block
;
NCBNAMSZ equ 16
ncb struc
ncb_command db ? ; command code
ncb_retcode db ? ; return code
ncb_lsn db ? ; local session number
ncb_num db ? ; number of our network name
ncb_buffer dd ? ; address of message buffer
ncb_length dw ? ; size of message buffer
ncb_callname db NCBNAMSZ dup (?) ; blank-padded name of remote
ncb_name db NCBNAMSZ dup (?) ; our blank-padded netname
ncb_rto db ? ; rcv timeout/retry count
ncb_sto db ? ; send timeout/sys timeout
ncb_post dd ? ; Async notification handle
ncb_lana_num db ? ; lana (adapter) number
ncb_cmd_cplt db ? ; 0xff => commmand pending
ncb_reserve db 14 dup (?) ; reserved, used by BIOS
ncb ends