Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!news.uu.net!mcsun!ukc!dcl-cs!gdt!brispoly!bj_stedm From: bj_stedm@g2.brispoly.ac.uk (Bruce Stedman (Hagar)) Newsgroups: comp.lang.pascal Subject: Re: HOW TO LET TP6.0 USE RAM DRIVE INSTEAD OF HARD DISK? Keywords: EMS, XMS, ramdrive, Turbo Pascal 6.0 Message-ID: <1991May22.121330.16617@g2.brispoly.ac.uk> Date: 22 May 91 12:13:30 GMT References: Organization: Partially un-organised (in Bristol) Lines: 32 You can do what I do, and remove Dos, Crt, Printer and Overlay from TURBO.TPL using the tpl manager, leave them in your TP directory, along with GRAPH.TPU, and in your AUTOEXEC.BAT file, copy C:\TP\*.TPU E:\ (or wherever things live for you), and then change the Directories option (Alt-O D) to put E:\ at the front of the path for finding units. This way, a smaller TURBO.TPL is read in, and to get the other TPU files TP6.0 only has to look on E:\ - thus no HD access. You can also tell it to put its swap file (TPXXXXXX.$$$) on the E: drive aswell. If you have EMS then it wont actually have to use this swap file, but at least it doesn't have to open it on the HD. You can of course set the destination drive to E:\ for TPU's and EXE's. That will mean less disk access on compiling. If you have a disk cache, then by doing this you can re-compile the whole program without *any* hard disk access! Alternatively, if you have a *lot* of ramdrive, then copy the whole of TURBO.EXE (and TURBO.TP of course) to E:, but still keep C:\TP as your turbo directory in the config file. BJS PS - If you have only a 286, then don't forget that you cannot us TD286 with an XMS ramdrive, as the XMS handler in TD286 was written by a third party and does not actually support the XMS standard. (Intel, Microsoft, AST & perhaps Lotus) [I got this from Borland UK] -- ------------------------------------------------------------------------ This article may be distributed freely, providing this message is in%#$: ------------------------------------------------------------------------