[comp.sys.cbm] C Power problem

bhoward@polya.Stanford.EDU (Brian Howard) (05/01/89)

With the article in the current Transactor (April 1989) on modifying the
C Power shell to use the 1764 as a ram disk, I've become interested in
using the language again.  But now I find that the compiler will only
work with the 1541 as the system drive, which certainly limits any
benefits I can get from using either the 1764 or the 1581.  The symptoms
are that the compiler either loads upp and hangs (still spinning the
disk, if it's on the 1581) or generates an "Illegal assignment" error on
virtually every statement; compiling the same programs from the 1541
works just fine (only slower).  These symptoms are regardless of whether
I'm using the original 'cc' or AdriaPepper's modified 'newcc' (as
provided with the REU-modified shell), so I figure it's a problem with
either 'compiler' or 'translator'.  Is this perhaps a function of using
an older version of the compiler?  I have the ProLine C Power, v.2.9A.
Finally, if this is the problem, does anyone know how I could get the
current version?  I tend to think my chances with Spinnaker won't be too
great.  Thanks.  -- Brian Howard (bhoward@polya.stanford.edu)

prindle@NADC.ARPA (Frank Prindle) (05/01/89)

Concerning problems with C Power (AKA Power C) and RAMdisk:

Please note that the ProLine C Power compiler v.2.9A *is* copy protected,
unlike the Spinnaker versions. When you copy CC.SH, COMPILER and TRANSLATOR to
the RAMdisk (or any other disk, for that matter), you are leaving behind a
small, but important, piece of the compiler, hidden on the original disk in
a slightly bizarre way. Without this piece, the compiler indeed does generate
an error on nearly every statement. You have two alternatives with the 2.9A
version: 1) remove the copy protection (I won't tell you how; it can be done,
though not easily); or 2) get the Spinnaker version (seems to me it would be
legal to copy someone else's disk, since you have already paid for the program,
and quite a bit more than Spinnaker charges too).

Also note that some versions of Commodore's RAMDOS (perhaps all) do not support
the DOS catenate command (C0:file1=file2,file3). The "cc" program uses this
command to generate object (.o) files, so beware of compiling to RAMdisk unless
you are sure your RAMDOS version supports catenate. I'm not sure about "newcc"
though - this may have removed this restriction.

Sincerely,
Frank Prindle
Prindle@NADC.arpa

fred@cbmvax.UUCP (Fred Bowen) (05/03/89)

In article <POSTNEWS6898@NADC.ARPA> prindle@NADC.ARPA (Frank Prindle) writes:
>Concerning problems with C Power (AKA Power C) and RAMdisk:
> [...]
>Also note that some versions of Commodore's RAMDOS (perhaps all) do not support
>the DOS catenate command (C0:file1=file2,file3).

None of the released versions of the RAMdisk (C64 v2.2, C128 v4.4) support
the concatenation feature of the DOS copy command.  The feature was added to
version 5.0, but that version remains untested, un-QA-ed, and will likely
remain unreleased.
--
-- 
Fred Bowen			uucp:	{uunet|rutgers|pyramid}!cbmvax!fred
				arpa:	cbmvax!fred@uunet.uu.net
				tele:	215 431-9100

Commodore Electronics, Ltd.,  1200 Wilson Drive,  West Chester,  PA,  19380

izot@f171.n221.z1.FIDONET.ORG (Geoffrey Welsh) (05/04/89)

 > From: fred@cbmvax.UUCP (Fred Bowen)
 > Message-ID: <6746@cbmvax.UUCP>
 
 > The feature was added to
 > version 5.0, but that version remains untested, un-QA-ed, and will likely
 > remain unreleased.
 
   Is there some way that the Commodore community might convince / assist 
Commodore in getting it released?
 


--  
 Geoffrey Welsh - via FidoNet node 1:221/162
     UUCP: ...!watmath!isishq!171!izot
 Internet: izot@f171.n221.z1.FIDONET.ORG

bjh@mtgzz.att.com (b.j.hudson) (05/04/89)

With Adrian Pepper's newshell (see April 89 Transactor)
C Power works quite well with  RAMDOS from CBM.
The newshell cleared out space for the RAMDOS interface page.
Using an unprotected compiler and newcc (to handle the concatenation) 
it is possible to compile in the RAMDisk.  With a 512K 17xx it is
possible to edit, compile, link, and run all out of the RAMDisk !

On Q-Link, DanB15 has uploaded a modified newshell.arc.  He has
also posted patches to the compiler that cut compile time by 40%
by speeding the input and output. I have not tried this from RAMDisk.

Many C Power C goodies are available on the ProLine BBS 1(416)276-6811
in Canada.  I could upload newshell.arc to a BBS in NJ too.
                                                  ......BJ

fred@cbmvax.UUCP (Fred Bowen) (05/06/89)

In article <2317.24611D06@isishq.FIDONET.ORG> Geoffrey Welsh writes:
> > From: fred@cbmvax.UUCP (Fred Bowen)
> > Message-ID: <6746@cbmvax.UUCP>
> > The feature was added to [RAMDOS] version 5.0, but that version remains
> > untested, un-QA-ed, and will likely remain unreleased.
>Is there some way that the Commodore community might convince / assist 
>Commodore in getting it released?

Probably not.  I will look into releasing it as unsupported software.  Note
that version 5 was rewritten & reassembled, such that any patches (like the
partitioning stuff described in TC128 #23) would not work.
--
-- 
Fred Bowen			uucp:	{uunet|rutgers|pyramid}!cbmvax!fred
				arpa:	cbmvax!fred@uunet.uu.net
				tele:	215 431-9100

Commodore Electronics, Ltd.,  1200 Wilson Drive,  West Chester,  PA,  19380

acliu@skat.usc.edu (Alejandro Liu) (05/08/89)

In article <6780@cbmvax.UUCP> fred@cbmvax.UUCP (Fred Bowen) writes:
>Probably not.  I will look into releasing it as unsupported software.  Note

Will they make the sources available too?   Or have it posted here?


 
                    acliu@skat.usc.edu (Alejandro Liu) 
(Simple .signature, $CHEAP$)