🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

MicroSoft C6.00 Link option CP

#1451
From: RAKESH TANDON
Date: Fri, 11 Sep 1992 16:33
19 lines
1129 bytes
Hi,
	I'm tring to write a LARGE MODEL C program which uses alot of memory
which it gets via malloc/calloc. I'm interested in anyone who has used the Link
option CP to reduce the amount of memory the program needs to load.

I'm not sure how it can help me but (using exehdr) when I reduced the 'max
paragraphs wanted' to 'min paragraghs needed' plus 0x20 I was able to
allocate more memory.

The manual states that with Link option of CP:1 will give me no near heap,
do I need any near heap in a large model program? and if not how can this
help me allocate more memory from the far heap?

			Thankyou
-- 
Rakesh Kumar Tandon          :  email - rkt@bj.co.uk
Boldon James Limited         :  phone - 0260 280465
Damian House, West Street    :  fax   - 0260 298030
CONGLETON, Cheshire          :
Technical Details
Message-ID: <128@bjcong.bj.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!pyrltd!bjcong!rkt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!pyrltd!bjcong!rkt
From: rkt@bjcong.bj.co.uk (RAKESH TANDON)
Newsgroups: comp.os.msdos.programmer,comp.lang.c
Subject: MicroSoft C6.00 Link option CP
Keywords: CP
Message-ID: <128@bjcong.bj.co.uk>
Date: 11 Sep 92 16:33:48 GMT
Organization: Boldon James Limited (UK)
Lines: 19