🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm.x86
Article #156

Re: "Direct Segment..."

#156
From: Alexei A. Frounze
Date: Fri, 23 Mar 2001 13:07
34 lines
2541 bytes
"Knight Vision" <knightvision@stengineer.com> wrote in message
news:3ABAD321.D0C3080D@stengineer.com...
> Ok, I have been trying to understand this. I have a 16 Bit DOS system
> and C compiler.
>
> I make a small EXE named Hello World. (The file turns out to be around
> 14K)
>
> Anyways.. I want to turn that file into a BIN file.  I tried BIN2EXE and
> another one named BIN.
>
> But both give the same errors...
>
> "File cannot be converted: Direct segment references."
>
> How do I get rid of this so that I can make an EXE in my 16 Bit compiler
> and then convert them over to a BIN from there.
>
> I am doing this all in Pacific C.  It's a good 16 Bit compiler.
>
> Thanks all..

download turbo c++ 1.01 from borland site (see a link on my homepage),
compile the code for the TINY model and link OBJs and LIBs into a .COM
program.

P.S. what does this have to do with ASM anyway?
Good Luck
--
Alexei A. Frounze
alexfru [AT] chat [DOT] ru
http://alexfru.chat.ru
http://members.xoom.com/alexfru/
http://welcome.to/pmode/
Technical Details
Message-ID: <wUHu6.3568$P4.274377@newsread1.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
References: <3ABAD321.D0C3080D@stengineer.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,18026775027cf1a8
X-Google-Attributes: gid11318c,public
X-Google-Thread: f65d0,18026775027cf1a8
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 1093da,18026775027cf1a8
X-Google-Attributes: gid1093da,public
X-Google-Thread: 114917,18026775027cf1a8
X-Google-Attributes: gid114917,public
X-Google-ArrivalTime: 2001-03-23 05:10:04 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
X-Apparently-To: clax86@yahoo.com via web9606
From: "Alexei A. Frounze" <dummy_addressee@hotmail.com>
Newsgroups: comp.lang.asm.x86,alt.os.assembly,gnu.gcc.help,gnu.gcc
Subject: Re: "Direct Segment..."
Organization: Global Crossing Telecommunications
References: <3ABAD321.D0C3080D@stengineer.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Approved: <johnfine@earthlink.net>
Lines: 37
Message-ID: <wUHu6.3568$P4.274377@newsread1.prod.itd.earthlink.net>
Date: Fri, 23 Mar 2001 13:07:40 GMT
NNTP-Posting-Host: 63.214.85.231
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 985352860 63.214.85.231 (Fri, 23 Mar 2001 05:07:40 PST)
NNTP-Posting-Date: Fri, 23 Mar 2001 05:07:40 PST