🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #4034

Re: TC++ and DOSSEG

#4034
From: Bits_of_Magic
Date: Thu, 18 Oct 1990 07:00
22 lines
1411 bytes
>Has anybody had any problems with TC++ v1.0 and assemblyfiles
>containing the DOSSEG-directive?

>When I link .OBJ-files (from assembly) with my C-programs, the
>global variables don't get initialised to zero unless I remove the
>DOSSEG-directive.

>This worked fine with TC 2.0.

>Also, memory allocated by malloc sometimes overwrites other
>variables.

Yes.  I don't remember the exact details, but the essence is that you don't
use DOSSEG, although if you were to use MASM you would.  According to the
documentation, you don't use it, but in older versions of TLINK the system
would work correctly even if you did.  Now it breaks if you use DOSSEG.

****************************************************************************
* Evan Robinson                * "You have a very workable substitute for  *
* bits_of_magic@cup.portal.com *   high intelligence"                      *
* GEnie: EVANROB               *          Keith Rienzi, "Pick Up Axe"      *
****************************************************************************
Technical Details
Message-ID: <34988@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!fernwood!portal!cup.portal.com!Bits_of_Magic
References: <CMM.0.88.655991906.sverrehu@gjevjon.ifi.uio.no>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!fernwood!portal!cup.portal.com!Bits_of_Magic
From: Bits_of_Magic@cup.portal.com
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: TC++ and DOSSEG
Message-ID: <34988@cup.portal.com>
Date: 18 Oct 90 07:00:01 GMT
References: <CMM.0.88.655991906.sverrehu@gjevjon.ifi.uio.no>
Organization: The Portal System (TM)
Lines: 22