Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!amb43790 From: amb43790@uxa.cso.uiuc.edu (Anthony M Brummett) Newsgroups: comp.lang.pascal Subject: Re: TP memory model question Message-ID: <1991Mar15.205752.18620@ux1.cso.uiuc.edu> Date: 15 Mar 91 20:57:52 GMT References: <14312@encore.Encore.COM> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 17 soper@encore.UUCP (Pete Soper,Cary NC,9194813730,9193624635) writes: > What memory model does TP 5.0 and/or 6.0 use? What are the >limits for code and data? Is there an overlay mechanism >or some other means of accommodating large amounts of highly >transient code? >----------------------------------------------------------------------- >Pete Soper (soper@encore.com) +1 919 481 3730 >Encore Computer Corp, 901 Kildaire Farm Rd, bldg D, Cary, NC 27511 USA I have only TP 5.5, but they are probably all similar in these areas. The limit for total data is 64K this includes the main program and any units the program uses. This does not include any data on the heap, it is limited only by the amount of memory is installed. The limit on code is 64K for each "part". The main program and each unit get 64K each. I don't know when it was introduced, but TP 5.5 has a standard unit aptly named OVERLAY.TPU. The only problem with OVERLAY is that you can overlay only units, not just any old code. Your olny other option would be to use EXEC (But probably not). Antoine----------------amb43790@uxa.cso.uiuc.edu