🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #1053

Microsoft C 6.0 Base Pointer

#1053
From: Jen Che Huang
Date: Mon, 29 Oct 1990 23:51
13 lines
1022 bytes
Has anybody effectively use base pointers in MSC 6.0?  I was wondering if
there is an increase in your code speed or not?  

My real question is, since base pointers work off segments and the 
maximum size of a segment on a PC is 64K, what happens when I need more
than 64K of memory.  Can I increase the size of segment that it allocates
in increments of 64K (64, 128, 192, etc.)?

And when I free the memory, does the memory get free back to DOS (or in
my case OS/2) or does the program keep the memory until termination?

Thanks
Jim Huang
Technical Details
Message-ID: <21418@orstcs.CS.ORST.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!emory!ogicse!orstcs!mist.CS.ORST.EDU!huangj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!emory!ogicse!orstcs!mist.CS.ORST.EDU!huangj
From: huangj@mist.cs.orst.edu (Jen Che Huang)
Newsgroups: comp.sys.ibm.pc.programmer,comp.os.os2.programmer,comp.lang.c
Subject: Microsoft C 6.0 Base Pointer
Message-ID: <21418@orstcs.CS.ORST.EDU>
Date: 29 Oct 90 23:51:08 GMT
Sender: usenet@orstcs.CS.ORST.EDU
Organization: Computer Science Department, Oregon State Univ.
Lines: 13
Originator: huangj@mist.CS.ORST.EDU