Path: 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 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 = 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!!!!!!!!!'