... The information in this software is subject to change without notice ; and should not be construed as a commitment by FTP Software, Inc. Edit history: ; 30-Sep-91 paul added stack segment ; INTVECT SEGMENT AT 0 INTVECT ENDS _TEXT SEGMENT BYTE PUBLIC 'CODE' _TEXT ENDS CONST SEGMENT WORD PUBLIC 'CONST' CONST ENDS _BSS SEGMENT WORD PUBLIC 'BSS' _BSS ENDS _DATA SEGMENT WORD PUBLIC 'DATA' _DATA ENDS STACK SEGMENT PARA STACK 'STACK' STACK ENDS ; MSC always puts STACK in DGROUP; Borland never does. ...
... Copyright 1987 - 1993, by FTP Software Inc. ... IFDEF LCODE CPROC MACRO func PUBLIC func func PROC FAR ENDM SARG EQU 6 ELSE CPROC MACRO func PUBLIC func func PROC NEAR ENDM SARG EQU 4 ENDIF ; define the width of a pointer IFDEF LDATA SPTR EQU 4 ; 4 bytes in large data models ELSE SPTR EQU 2 ; 2 bytes in small ones ENDIF ; define the sizes of other arguments SINT EQU 2 SLONG EQU 4 ; Pop Flags macro works around 80286 chip bug. ... Rev 1.2 28 Jul 1993 15:31:44 arnoff ; Merge Lilac Branch into trunk. ...
rem This batch file uses Microsoft's NMAKE rem Build the XDR compiler cd ..\rpcgen nmake rem Build RPCINFO application as a test. cd ..\rpcetc nmake rpcinfo.exe
... Makefile for set_win, Borland C++ version # # Edit history: # 18-Jun-92 paul munged for Borland C++ # 03-Aug-92 paul added install target # 24-Sep-92 rcq added set_win and large model versions # 04-Oct-92 rcq changed object extensions to differentiate # 13-Oct-93 arnoff set_win only. ... BIN CFLAGS = -wOG LFLAGS = /m # By default, these programs are small model. ... Large Model version lset_win.exe: set_win.blo tlink $(LFLAGS) @&&! c0l set_win.blo lset_win.exe lset_win.map $(LLIBS) ! ...
... Edit history: # 14-Nov-91 paul made link line less cryptic, less Polymake-specific # 20-Mar-92 paul munged for Turbo C++ # 23-Sep-92 rcq changed DESTDIR to BIN from BIN.BCC, make "all" not # default to "install", added "cleanall" # 04-Oct-92 rcq changed object extension to differentiate from MSC # 16-Apr-93 rcq changed .exe name from rpcgen.exe to rpcgen_b.exe # to differentiate from MSC version. ... Rev 1.2 28 Jul 1993 16:52:04 arnoff # Merge Lilac Branch into trunk. ...
... For a full description and explanation of the parameters, see the ; manual for the ODI shell for DOS, which ships with the NetWare package ; or is available from Novell part # 100-000871-001. ... PORT 200 ; SLOT 3 ; ; The next few lines specify the frame type. ... FRAME ETHERNET_802.3 PROTOCOL IPX 0 ETHERNET_802.3 (binds IPX protocol to frame) ; ; ; This is the driver default ; ; FRAME ETHERNET_802.2 ; PROTOCOL IPX 0 ETHERNET_802.2 ; ; ; ; %VER NET.CFG - sample Netware DOS ODI configuration file V3...
... DATA ENDS ; macro used at start of every function to perform initialization if it ; hasn't happened already chkinst MACRO LOCAL okay mov ax,inited or ax,ax jnz okay call __find_vec mov inited,0FFFFh okay: ENDM ; macro to zero out one register (s) if another (r) is already zero zseg MACRO r,s LOCAL done or r,r jnz done mov s,r done: ENDM ; get_peer(fd, addr) ; ; fd BX ; addr DS:DX CPROC _get_peer chkinst push bp mov bp,sp ...
... ENDS ; macro used at start of every function to perform initialization if it ; hasn't happened already chkinst MACRO LOCAL okay mov ax,inited or ax,ax jnz okay call __find_vec mov inited,0FFFFh okay: ENDM ; macro to zero out one register (s) if another (r) is already zero zseg MACRO r,s LOCAL done or r,r jnz done mov s,r done: ENDM IFNDEF NETDNS ; nm_prs_addr( name ) ; ; name DS:DX CPROC _nm_prs_addr chkinst push bp mov bp,sp push ds ...
... CPROC __net_set_vector push bp mov bp, sp push es mov ax, cs ; Running in SEG _TEXT. mov es, ax mov ax, [bp+ SARG ] ; Get the vector to set. mov bx, OFFSET _TEXT: __ dosyscall mov es: BYTE PTR [bx+1], al ; Set it. pop es pop bp ret __net_set_vector ENDP ; net_getdesc() ; ; returns ; nd AX CPROC _net_getdesc chkinst push bp mov ah,NET_GETDESC call __ ...
... CFLAGS = -c -DMSC -Oeclgsz #GETOPTS = -q -w # 01/21/92 Arnoff *Asking* PVCS to delete writable files is insane.. ... This rule tells how to make a .EXE file from a .OBJ file # using the Microsoft Linker with .obj files. # .obj.exe : link $(LFLAGS) $(L_DEBUG) @ $[s, + \n ,$**] $*; ... $[s, + \n ,$**] $*; .lo.exe : link $(LFLAGS) $(L_DEBUG) @ $[s, + \n ,$**] $*; # # This rule creates a DLL from .OBJ file (s) # .wo.dll : link $(LFLAGS) $(L_DEBUG) @ $[s, + \n ,$**] $*; # This ...
... Edit history: # 23-Mar-92 paul munged for Turbo C++ # 23-Sep-92 rcq changed DESTDIR bin .bcc to bin , made install and # cleanall entries # 04-Oct-92 rcq changed object filename to differentiate from MSC # also had to use TLINK rather than BCC on cmd line # since bcc won't use any but . obj as object DESTDIR =..\..\ bin CFLAGS= -DMSDOS -DPCTCP -DSOCKETS -wOG -D_DOSCODE_ -D_DOSANDWIN_ ...