home *** CD-ROM | disk | FTP | other *** search
- small_m = 1
- mach386 = 1
- GOC = 1
- title environ data. G.Unruh 90-Apr-19
-
- ; (C) Copyright 1987-1992; Franklin L. DeRemer, Thomas J. Pennello,
- ; MetaWare Incorporated; Santa Cruz, CA 95060.
- ; This program is the unpublished property and trade secret of the above
- ; three. It is to be utilized solely under license from MetaWare and it
- ; is to be maintained on a confidential basis for internal company use
- ; only. The security and protection of the program is paramount to
- ; maintenance of the trade secret status. It is to be protected from
- ; disclosure to unauthorized parties, both within the Licensee company
- ; and outside, in a manner not less stringent than that utilized for
- ; Licensee's own proprietary internal information. No copies of the
- ; Source or Object Code are to leave the premises of Licensee's business
- ; except in strict accordance with the license agreement signed by
- ; Licensee with MetaWare.
- ;
- include model
-
- _MWENVIRON segment common word 'DATA'
-
- ifndef nonansi
- public _environ
- else
- public environ
- endif
-
- ifdef Small_data
- DGROUP group _MWENVIRON
- assume ds:DGROUP
- offds equ offset DGROUP:
- else
- assume ds:_MWENVIRON
- offds equ
- endif
-
- ifdef asm_386
- integer equ dd
- else
- integer equ dw
- endif
- if Ptr_size - 4
- pntr equ dw
- else
- pntr equ dd
- endif
- environ label byte
- _environ pntr 0
- _MWENVIRON ends
-
- ;
- ; The following code forces the initializer to call this routine at
- ; program start-up.
- ;
-
- extrnf _mwinit_environ
- addinit _mwinit_environ
-
- end
-