πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1470

how to write C code in an other segment than default one ?

#1470
From: Gerald Guillaume
Date: Mon, 13 Dec 1999 00:00
11 lines
1456 bytes
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)

Thanks for all your good ideas ..
GοΏ½rald.
Technical Details
Message-ID: <3854D3A2.C68CCCBF@actoll.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10f6aa,7aca208f7247062e,start
X-Google-Attributes: gid10f6aa,public
X-Google-Thread: 1014db,7aca208f7247062e,start
X-Google-Attributes: gid1014db,public
X-Google-Thread: 102bfa,7aca208f7247062e,start
X-Google-Attributes: gid102bfa,public
X-Google-Thread: f9822,7aca208f7247062e,start
X-Google-Attributes: gidf9822,public
From: Gerald Guillaume <gerald.guillaume@actoll.com>
Subject: how to write C code in an other segment than default one ?
Date: 1999/12/13
Message-ID: <3854D3A2.C68CCCBF@actoll.com>
X-Deja-AN: 560028566
Content-Transfer-Encoding: 8bit
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@oleane.net
X-Trace: minus.oleane.net 945082962 17461 212.124.1.17 (13 Dec 1999 11:02:42 GMT)
Organization: ACTOLL
Mime-Version: 1.0
Reply-To: gerald.guillaume@actoll.com
NNTP-Posting-Date: 13 Dec 1999 11:02:42 GMT
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.lang.c,fr.comp.lang.c