🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3106

Re: BC++ in protected mode -- how?

#3106
From: Bruce Haines
Date: Thu, 06 Jun 1991 17:53
48 lines
1797 bytes
	Buy more memory...

	For speed you want to run BC++ from STANDARD mode windows (win /s).
	Borland suggests TKERNEL be given 2MB so that doesn't leave you anything
	for windows itself muchless smartdrive...

	With 4MB of RAM:
	---------------

	  you can give smartdive, say 512KB, in config.sys:

	       device=C:\windows\smardrv.sys 512 512

	  and TKERNEL 2MB, enter:

	      tkernel hi=yes kilos=2048
	      win /s


	With 8MB of RAM:
	---------------

	   You got it made. I use the following setup so that windows swaps
	   application files to my ramdisk, thus switching from Borland IDE to 
	   windows (and vica-versa) with ALT-TAB takes say 1-2 seconds
	   instead of 10-15. In config.sys:

	       device=C:\windows\smartdrv.sys 1024 512
	       device=C:\windows\ramdrive.sys 2048 /e

           In autoexec.bat

	       REM set windows "temp" to my ramdrive.
	       set temp=D:\

           And then I execute this batch file to start up windows for
	   Borland IDE:

	       @echo off
	       tkernel hi=yes kilos=2048
	       REM the following removes windows application swap files.
	       REM (they start with "~") from ram disk "D:". Otherwise, 
	       REM if you abort windows, windows won't remove these at
	       REM start of a new session.
	       if NOT X%TEMP%==X del %TEMP%~*.*
	       win /s
	       tkernel rem
Technical Details
Message-ID: <17190003@hpsciz.sc.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!hplabs!hpl-opus!hpcc05!hpsciz!bruceh
References: <43289@fmsrl7.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!hplabs!hpl-opus!hpcc05!hpsciz!bruceh
From: bruceh@hpsciz.sc.hp.com (Bruce Haines)
Newsgroups: comp.windows.ms.programmer
Subject: Re: BC++ in protected mode -- how?
Message-ID: <17190003@hpsciz.sc.hp.com>
Date: 6 Jun 91 17:53:39 GMT
References: <43289@fmsrl7.UUCP>
Organization: Hewlett-Packard, Santa Clara, CA
Lines: 48