Article View: comp.sys.ibm.pc.programmer
Article #408Huge model in Turbo C and Microsoft C
From: Alan Warwick
Date: Mon, 07 May 1990 14:13
Date: Mon, 07 May 1990 14:13
15 lines
1302 bytes
1302 bytes
Does anyone know the specifics of how turbo C and microsoft C deal with huge data items internally ? The idea of a huge item is that the far pointer to the data object gets computed on every access to that data item and that the pointer is normalized. This is how it can access over 64K of data in one item. From some initial investigation with TC I noticed that before the references to the data item calls to PADD@ are made to normalize the pointer to the huge data item. Does anyone know the complete scoop on how TC and MSC do this ? My goal is to replace these functions with my own so that I can access really huge data (say 3MB) while I am running in protected mode. I know that a dos extender does this kind of thing, but I can't afford one. Thanks, Alan Wariwck alan@doc.dss.com
Technical Details
Message-ID:
<3961@pluto.dss.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!yale!cmcl2!pluto!alanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!yale!cmcl2!pluto!alan From: alan@pluto.dss.com (Alan Warwick) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: Huge model in Turbo C and Microsoft C Keywords: huge model, MSC, TC Message-ID: <3961@pluto.dss.com> Date: 7 May 90 14:13:14 GMT Followup-To: comp.sys.ibm.pc.programmer Organization: Datability Software Systems, New York, NY Lines: 15