Article View: comp.lang.asm.x86
Article #158Re: "Direct Segment..."
From: Knight Vision
Date: Fri, 23 Mar 2001 21:23
Date: Fri, 23 Mar 2001 21:23
65 lines
4065 bytes
4065 bytes
Ok, I tried and tried to get that boralnd CPP.. however, I hate that website because it starts a download and then just hangs. It won't finish.. errr.. so I went through all of my old floppies I had, not realizing that I even still had them, and I found my old ORIGINAL copy of TCPP 3.0.. I was EXTREMLY happy when I found that they still worked.. heh.. time to make a backup of this puppy.. :) Anyhow, the trick worked. It compiled into a TINY program and I was able to convert it to binary as I wanted. .THANKS!!!!!! Knight Vision Knight Vision wrote: > Hey thanks.. I'm trying to get it from that slow Borland site now. > > I wrote this message in more then one room. It was the only way I could find > one of you smart people. .hehe.. > > I am writting the bootsector from my OS from scratch and then switching over > to C from there. But I need ONE MORE file to be made in C/C++ so that I can > transfer control over. I have to do it that way, because I don't want to use > DOS Interrupts. Like I said, this is an OS from scratch. Tough work, but is a > lot of fun. This is a hobby. Call this a learning experience for me.. :) > > Again, thanks for replying.. :) > > John Mieske > > "Alexei A. Frounze" wrote: > > > "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:
<e9Pu6.4578$ue1.404206@newsread2.prod.itd.earthlink.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mailReferences:
<3ABAD321.D0C3080D@stengineer.com> <wUHu6.3568$P4.274377@newsread1.prod.itd.earthlink.net> <3ABB57F3.65C9F622@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: 114917,18026775027cf1a8 X-Google-Attributes: gid114917,public X-Google-Thread: 1093da,18026775027cf1a8 X-Google-Attributes: gid1093da,public X-Google-ArrivalTime: 2001-03-23 13:28:08 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail X-Apparently-To: clax86@yahoo.com via web9608 From: Knight Vision <knightvision@stengineer.com> X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.asm.x86,alt.os.assembly,gnu.gcc.help,gnu.gcc Subject: Re: "Direct Segment..." References: <3ABAD321.D0C3080D@stengineer.com> <wUHu6.3568$P4.274377@newsread1.prod.itd.earthlink.net> <3ABB57F3.65C9F622@stengineer.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: RoadRunner - Central Florida Approved: <johnfine@earthlink.net> Lines: 66 Message-ID: <e9Pu6.4578$ue1.404206@newsread2.prod.itd.earthlink.net> Date: Fri, 23 Mar 2001 21:23:22 GMT NNTP-Posting-Host: 63.214.68.178 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 985382602 63.214.68.178 (Fri, 23 Mar 2001 13:23:22 PST) NNTP-Posting-Date: Fri, 23 Mar 2001 13:23:22 PST