[comp.sys.cbm] Power C and 1750 ram expander...

sanborn@3d.dec.com (Anxiously awaiting fatherhood...) (07/20/88)

I have a Commodore 128, and the Power C compiler.  I would like to be able to
copy  the  entire Power C development package to a ram disk, to make compiling
and  linking  faster.  Unfortunately, the ram disk supported by Power C is too
small to do this.  Is  there a way to use the 1750 ram expander as a ram disk
in Power C? If so, could someone send me the code, or (horrors!) post it here?

Thanks,
Dave Sanborn

elg@killer.DALLAS.TX.US (Eric Green) (07/23/88)

in article <8807201321.AA25480@decwrl.dec.com>, sanborn@3d.dec.com (Anxiously awaiting fatherhood...) says:
> 
> I have a Commodore 128, and the Power C compiler.  I would like to be able to
> copy  the  entire Power C development package to a ram disk, to make compiling
> small to do this.  Is  there a way to use the 1750 ram expander as a ram disk
> in Power C? If so, could someone send me the code, or (horrors!) post it here?

1) Get a copy of "library 128" from your local BBS. It takes the
1541/1571 forever to search through a directory listing, when you are
copying the tiny files from the library disk into the 1750, so use
"library 128" to archive them all together (meaning that the only
directory accesses will be on the RAM drive = fast).

2) Also from your local BBS, get a copy of the 1750 RAMdisk driver. 

Note that the above two pieces of software are also available from
GEnie, Q-LINK, and probably many other places, too.

NEXT:
  load your RAMdrive using an ordinary 2-floppy copy program (e.g.
"copy-all", that uselss program that came with your 1541/1571).

You may have to patch the shell2 program to eliminate the part that
re-directs all I/o functions to their own internal functions (which is
how they intercept their internal RAMdrive). I'm not sure. This is
mostly murky memory, since I long ago ceased trying to program a
Commodore in "C" (talk about your excercises in futility!).

--
Eric Lee Green    ..!{ames,decwrl,mit-eddie,osu-cis}!killer!elg
          Snail Mail P.O. Box 92191 Lafayette, LA 70509              
PC Pursuit: That service which eats all text typed, obscuuring truth, 
  destroying spelling.