🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1072

Re: MS-C 286-code in Windows' real mode

#1072
From: Jerry Sheckel
Date: Mon, 14 Jan 1991 19:47
18 lines
1486 bytes
In article <915@tuura.UUCP> risto@tuura.UUCP (Risto Lankinen) writes:
>
>The question is, how can I use the -G2 switch, but still be able to mark
>a portion of the program such, that it would be compiled to 8086/88?
>

Why not just put the code which may run in real mode [the start-up code and the
call to GetWinFlags()] into a separate file, and compile only that file without
the -G2 flag?
--
+-------------------+----------------------+---------------------------------+
| JERRY J. SHEKHEL  | POLYGEN CORPORATION  | When I was young, I had to walk |
| Drummers do it... | Waltham, MA USA      | to school and back every day -- |
|    ... In rhythm! | (617) 890-2175       | 20 miles, uphill both ways.     |
+-------------------+----------------------+---------------------------------+
|           ...! [ princeton mit-eddie bu sunne ] !polygen!jerry             |
|                            jerry@polygen.com                               |
+----------------------------------------------------------------------------+
Technical Details
Message-ID: <950@stewart.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bu.edu!polygen!jerry
References: <915@tuura.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bu.edu!polygen!jerry
From: jerry@polygen.uucp (Jerry Sheckel)
Newsgroups: comp.windows.ms.programmer
Subject: Re: MS-C 286-code in Windows' real mode
Message-ID: <950@stewart.UUCP>
Date: 14 Jan 91 19:47:59 GMT
References: <915@tuura.UUCP>
Reply-To: jerry@stewart.UUCP (Jerry Sheckel)
Distribution: comp
Organization: Polygen Corporation, Waltham, MA
Lines: 18