home *** CD-ROM | disk | FTP | other *** search
- ;/* cu-notic.txt NCSA Telnet version 2.2C 2/3/89
- ; Notice:
- ; Portions of this file have been modified by
- ; The Educational Resources Center of Clarkson University.
- ;
- ; All modifications made by Clarkson University are hereby placed
- ; in the public domain, provided the following statement remain in
- ; all source files.
- ;
- ; "Portions Developed by the Educational Resources Center,
- ; Clarkson University"
- ;
- ; Bugs and comments to bkc@omnigate.clarkson.edu
- ; bkc@clgw.bitnet
- ;
- ; Brad Clements
- ; Educational Resources Center
- ; Clarkson University
- ;*/
-
-
- ;Microsoft EQU 1
- ;Lattice EQU 1
- ifndef Microsoft
- ifndef Lattice
- if2
- %out
- %out ERROR: You have to specify "/DMicrosoft" OR "/DLattice" on the
- %out MASM command line to determine the type of assembly.
- %out
- endif
- end
- endif
- endif
-
- NAME NET
- ifdef Microsoft
- X EQU 6
- DOSSEG
- .MODEL LARGE
- else
- INCLUDE DOS.MAC
- SETX
- endif
- ; Low-level interface for receiver function
- ; why we can't do this more gracefully in turbo is beyond me.
- ; turbo is irratating at times..
-
- ifdef Microsoft
- .code
- ifdef Watcom
- EXTRN PKT_RECEIVER2_:FAR
- else
- EXTRN _PKT_RECEIVER2:FAR
- endif
- PUBLIC _pkt_receiver,_clear_int,_set_int
- else
- PSEG
- EXTRN PKT_RECEIVER2:FAR
- PUBLIC pkt_receiver,clear_int,set_int
- endif
-
- ifdef Microsoft
- _PKT_RECEIVER PROC FAR
- else
- PKT_DRIVER PROC FAR
- endif
- PUSHF
- ifdef Microsoft
- ifdef Watcom
- CALL PKT_RECEIVER2_
- else
- CALL _PKT_RECEIVER2
- endif
- else
- CALL PKT_RECEIVER2
- endif
- RET
- ifdef Microsoft
- _PKT_RECEIVER ENDP
- else
- PKT_RECEIVER ENDP
- endif
-
- ifdef Microsoft
- _CLEAR_INT PROC FAR
- else
- CLEAR_INT PROC FAR
- endif
- CLI
- RET
- ifdef Microsoft
- _CLEAR_INT ENDP
- else
- CLEAR_INT ENDP
- endif
-
- ifdef Microsoft
- _SET_INT PROC FAR
- else
- SET_INT PROC FAR
- endif
- STI
- RET
- ifdef Microsoft
- _SET_INT ENDP
- else
- SET_INT ENDP
- endif
- ifdef Microsoft
- ;_TEXT ends
- else
- ENDPS
- endif
- END
-
-