Article View: net.micro.mac
Article #5725Re: Lightspeed C and Ram disk
From: Paul DuBois
Date: Mon, 19 May 1986 17:58
Date: Mon, 19 May 1986 17:58
40 lines
2814 bytes
2814 bytes
> I am using Lightspeed C on a standard duel 400k disk
> fat mac. I have been trying to work out what is best to
> put on a ram disk. The system and finder or Lightspeed
> itself and some libaries ?. Anybody figured out a good
> solution.
I've been wondering this myself. Lightspeed doesn't run at all with
itself and a system in the ramdisk. It doesn't do much with just itself
in the ramdisk (couldn't compile anything without running out of memory).
I (currently) put a system, a minifinder, and MacTraps in the ramdisk
(just over 100K). The minifinder is set to show only a minifinder (you
do this by installing one, then selecting it and installing another one).
Boot this disk. Click the minifinder "Drive" button until you get Ramdisk,
then double-click the minifinder. This makes the mac forget about the system
on the boot disk and use the one in the ram disk. Eject the boot disk.
On another disk I keep Lightspeed, and all the standard #include libraries,
and still have a fair amount of room.
Since the boot disk is ejected and the system is in the ram disk, I can
still put a data disk in one of the drives. If I run a program on another
disk that has a system on it, I can still run the ramdisk Minifinder
to reinitialize the ramdisk system.
It seems to me that it would be better to leave MacTraps on the disk
with Lightspeed in it and use some space in the ramdisk for *part*
of Lightspeed. My idea - which I haven't got around to trying - is
to move some of Lightspeed's CODE resources into the system that gets
put on the ramdisk and delete them from the Lightspeed application.
Would this work - or does the segment loader only load CODEs that
actually come from the executing application? If it would work, this
would be a way of getting part of Lightspeed to speed up (virtually
instantaneous swapping of the hacked segments) and still having enough
memory to do something useful...
--
|
Paul DuBois {allegra,ihnp4,seismo}!uwvax!uwmacc!dubois --+--
|
Doth the hawk fly by thy wisdom, and stretch her wings |
toward the south? Job 39:26
Technical Details
Message-ID:
<2224@uwmacc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!topaz!uwvax!uwmacc!duboisReferences:
<132@sauron.OZ>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!topaz!uwvax!uwmacc!dubois From: dubois@uwmacc.UUCP (Paul DuBois) Newsgroups: net.micro.mac Subject: Re: Lightspeed C and Ram disk Message-ID: <2224@uwmacc.UUCP> Date: Mon, 19-May-86 13:58:11 EDT Article-I.D.: uwmacc.2224 Posted: Mon May 19 13:58:11 1986 Date-Received: Fri, 23-May-86 05:40:01 EDT References: <132@sauron.OZ> Organization: UW-Madison Primate Center Lines: 40