--- Eric Auer <[EMAIL PROTECTED]> 的郵件內容:> > Hi! > > > PG runtime takes up 80K, but it needs about 40K. > > Turbo C 2.01, small model. > > Small model = up to 64k code + up to 64k data. You > could try other > memory models, but I think it will NOT be worth the > effort. If you > use TINY model, you will get a .com with all code > and pointers and > data defaulting to NEAR. Well, you COULD use it. No > idea how much > code and data you need (not counting the heap). In > .com files, the > stack is always at the end of the 64k segment. I > would NOT recommend > moving it around because your program is written in > C, not assembly > language... Anyway. In .com files, default is to use > ALL memory for heap. > You can resize that with the normal DOS (or maybe > Turbo C library) > functions. As far as I understand, PG can use big > amounts of heap > when opening big files. Therefore you will not be > able to reduce PG > to tiny size anyway. And you will not be shelling > out to DOS very often > at all anyway. > > > I recommend that you just leave things as they are > :-). > > Eric.
Hi, I would like to use small model, I'll give up if it's a dead end. Thanks, BAHCL _________________________________________________________ 必殺技、飲歌、小星星... 浪漫鈴聲 情心連繫 http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/ ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
