Category : Network Files
Archive   : PDCLK145.ZIP
Filename : PKTDR.ASM

 
Output of file : PKTDR.ASM contained in archive : PDCLK145.ZIP
;************************************************************************
;************************************************************************
;*
;* Packet interface routines
;*
;************************************************************************
;************************************************************************


int_pkt macro
pushf
cli
call their_isr
endm

their_isr dd ?
packet_int_no db 60h,?,?,?
signature db 'PKT DRVR',0
signature_len equ $-signature
no_signature db "No packet driver at that address",'$'



;************************************************************************
;* FindPktint
;************************************************************************

FindPktint proc near
FindLoop:
call TestPktInt
je FindRet
inc packet_int_no
cmp packet_int_no,80h
jb FindLoop

mov dx,offset no_signature
mov ah,9
int 21h
mov ax,4c02h
int 21h
FindRet:
ret
Findpktint endp



;************************************************************************
;* TestPktInt
;************************************************************************

TestPktInt proc near
mov ah,35h ; get their packet interrupt.
mov al,packet_int_no
int 21h
mov their_isr.offs,bx
mov their_isr.segm,es
lea di,3[bx]
mov si,offset signature
mov cx,signature_len
repe cmpsb
ret
TestPktInt endp




  3 Responses to “Category : Network Files
Archive   : PDCLK145.ZIP
Filename : PKTDR.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/