home *** CD-ROM | disk | FTP | other *** search
- ;/* MODES: TAB 8 */
-
- NAME EmuVars
-
- ;[]------------------------------------------------------------[]
- ;| EMUVARS.ASM -- Emulator initialization |
- ;| |
- ;| Turbo-C Run Time Library version 3.0 |
- ;| |
- ;| Copyright (c) 1990 by Borland International Inc. |
- ;| All Rights Reserved. |
- ;[]------------------------------------------------------------[]
-
- ;[]------------------------------------------------------------[]
- ;| |
- ;| Emulator variables in the stack segment |
- ;| |
- ;[]------------------------------------------------------------[]
-
- ; define the FPU variables
- ; in large model, put them at SS:0
- ; in small model, this is impossible because the stack is in the DGROUP
-
- include equates.asi
- include emuvars.asi
-
- public __emu
-
- if LDATA
-
- ;_STACK SEGMENT COMMON STACK 'STACK'
- _STACK SEGMENT COMMON 'STACK'
- org 0
- __emu fpu <>
- db MinFpStack DUP (?)
- _STACK ENDS
-
- else
-
- _DATA SEGMENT PARA PUBLIC 'DATA'
- __emu fpu <>
- db MinFpStack DUP (?)
- _DATA ENDS
-
- endif
-
- end
-