Article View: alt.msdos.programmer
Article #1469Re: how to write C code in an other segment than default one ?
From: Michel Bardiaux
Date: Sun, 26 Dec 1999 00:00
Date: Sun, 26 Dec 1999 00:00
15 lines
1523 bytes
1523 bytes
Gerald Guillaume wrote:
>
> i'm using borland turbo c on dos box.
> i would like to define a new code segment in a custom boot module (c0)
> that 's allow me to write C code in an other sement than the default
> code segment.
> But how can i specify in my c source code wich segment the compiler must
> use?
> i think a directive #?? can do that stuff .. but which's one on borland
> c compiler ? (or microsoft compiler)
#pragma code_seg("MY_SEGMENT")
--
Michel Bardiaux
Technical Details
Message-ID:
<386643B6.339E1307@usrconsult.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3854D3A2.C68CCCBF@actoll.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f6aa,7aca208f7247062e X-Google-Attributes: gid10f6aa,public X-Google-Thread: 1014db,7aca208f7247062e X-Google-Attributes: gid1014db,public X-Google-Thread: 102bfa,7aca208f7247062e X-Google-Attributes: gid102bfa,public X-Google-Thread: f9822,7aca208f7247062e X-Google-Attributes: gidf9822,public From: Michel Bardiaux <mbardiaux@usrconsult.be> Subject: Re: how to write C code in an other segment than default one ? Date: 1999/12/26 Message-ID: <386643B6.339E1307@usrconsult.be> X-Deja-AN: 565041993 Content-Transfer-Encoding: 7bit References: <3854D3A2.C68CCCBF@actoll.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: helpdesk@kpnqwest.net X-Trace: nreader2.kpnqwest.net 946226103 193.74.142.250 (Sun, 26 Dec 1999 17:35:03 MET) Organization: UsrConsult SPRL MIME-Version: 1.0 NNTP-Posting-Date: Sun, 26 Dec 1999 17:35:03 MET Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.lang.c,fr.comp.lang.c