🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #1642

Re: Turbo C stack (making it bigger)

#1642
From: Einar Indridason
Date: Sat, 21 Jul 1990 18:42
24 lines
1271 bytes
In article <1990Jul20.171212.6970@ucselx.sdsu.edu> weston@ucselx.sdsu.edu (weston t) writes:
>changing default stack size in turbo 1.5:
>
> i use turbo 2.0, but i'm assuming it is the same. _stklen is defined
>in a module in the appropriate library (cs.lib??) called STKLEN. to
>change it i just patched the constant, which in the large model is 
>4k (1000 hex, written 0010 in a hex dump). for my large model, i just
>changed 0010 to 0020 (8k decimal) with norton's hex editor. you ought

Much simpler way to do that:

...
extern unsigned _stklen = <DESIRED SIZE OF STACK>

main()
{
....
}

--
I just learned a new curse: "You #$@! son of SCROLLBAR!"

Internet:       einari@rhi.hi.is   | 'Just give me my command line and throw
UUCP: ..!mcsun!isgate!rhi!einari   | the GUIs in the dust-bin!!!!!!!!!'
Technical Details
Message-ID: <1856@krafla.rhi.hi.is>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!isgate!krafla!einari
References: <90Jul19.223807edt.20138@me.utoronto.ca> <1990Jul20.171212.6970@ucselx.sdsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!isgate!krafla!einari
From: einari@rhi.hi.is (Einar Indridason)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Turbo C stack (making it bigger)
Message-ID: <1856@krafla.rhi.hi.is>
Date: 21 Jul 90 18:42:05 GMT
References: <90Jul19.223807edt.20138@me.utoronto.ca> <1990Jul20.171212.6970@ucselx.sdsu.edu>
Reply-To: einari@rhi.hi.is (Einar Indridason)
Organization: University of Iceland (RHI)
Lines: 24