[Coco] Looking for "C" utils

Stephen H. Fischer SFischer1 at Mindspring.com
Wed Mar 7 02:59:43 EST 2012


Hi,

What shape is the hard drive in?

Have you backed up all the important files? I turned my CoCo's off for two
reasons, because the hardware was so flaky and I destroyed my neighbors TV
reception.

The original Tandy floppies are pretty much unreadable now, bit rot may be
hitting hard drives also!

ASAP get to a position that you can save everything on CD or DVD!

-------------------- 

The DSAVE command can be used to generate a text file that can be searched
quickly. HDirect is what I would use as it's format is easier to read.
Anyway get a text file listing of all files!

I just do not understand that if you have his system that all the needed
files are not on it.

> The author of the sources was very active on Cis and Delphi

We have some of the Cis files and I have some of the Delphi files.

And I have a fairly complete listing of the files on Delphi, but those CD /
DVDs are not at hand.

The makefile sure suggests to me "rcr" is a modified "CC", and another
makefile exists. Changing the name to "rcr" does not make sense and I do not
think it was done.

> Also before compiling, you'll need to make nostring.c <done> in the Tools
> dir, put the exec in your CMDS dir. You'll also need CNoY and Rcr -- both
> are "up there somewhere" on RTSI

Making "nostring.c" have a later date makes sense.

Putting the exec in the CMDS dir makes sense so that MAKE will detect it is
older than "nostring.c"

I hope Gene checks in, his memory of what was done with "CC" is better than
mine.

---------------------------

If you wish to continue trying to compile the program, just do it with a
standard makefile and see what errors are generated. As I said, "CNoY" is
optional, "rcr" may just be a modified "CC" so that "CNoY' can be called at
the right time.

If you get clean compiles up to the point that ".r" files have been created,
then you are well on your way. Then the linker will start complaining about
missing libs if there are any.

Perhaps try one ".c" at a time.

CC -r -o source.c

SHF

----- Original Message ----- 
From: "Bill Pierce" <ooogalapasooo at aol.com>
To: <coco at maltedmedia.com>
Sent: Tuesday, March 06, 2012 10:07 PM
Subject: Re: [Coco] Looking for "C" utils


>
> Thanks Stephen, you seem to be leading me on the right track. When I run 
> "make" on the source, I get:
>
> --------
> make: "$(RCRFLAGS) -d$(RDIR) $*
> " - unknown macro
> ERROR #001
> --------
>
> The thing that leads me to look for a file called "rcr" is in the readme 
> for the sources:
>
> --------
> Also before compiling, you'll need to make nostring.c <done> in the Tools 
> dir, put the exec in your CMDS dir. You'll also need CNoY and Rcr -- both 
> are "up there somewhere" on RTSI
> --------
>
> Neither of which can be found on RTSI
> The author of the sources was very active on Cis and Delphi, so I would 
> think he got the utilities from one of the 2.
> He states in his sources (fairly well commented) on a lot of the patched 
> "C" tools he used. I've started looking through the disks from the 
> archives that were saved from both services to see if they are possibly on 
> some random disk. I'm also checking all the user group disks. No luck yet 
> but finding some really cool stuff though :-)
>
> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
> ooogalapasooo at aol.com
>
>
>
>
> -----Original Message-----
> From: Stephen H. Fischer <SFischer1 at Mindspring.com>
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Sent: Tue, Mar 6, 2012 11:01 pm
> Subject: Re: [Coco] Looking for "C" utils
>
>
> Hi,
> Don't be bothered if you do not understand what I am saying, I skip many
> hings that you may not know or understand.  And say much that you already
> now, I am sort of doing a memory dump from 25 years ago.
> Even Gene is buffaloed by MAKE.
> I can understand it because I used an earlier version a lot > 25 years 
> ago.
> "rcr" is a program for sure. But may just be a MAKE macro, I need to see
> make.default".
> My make is very rusty but look in /DD/SYS for a file.
>> The filename for "/dd/sys/make.default" is defined in h.h.
> Also he may have changed Make and recompiled it.
> Rereading the MAKE "README" and what is in the "/DD/HELP" MAKE files needs
> o be understood.
> Make is very powerful and hard to understand till you get the hang of it.
> specially Tim Koonce's "make".
> The result of what "rcr" does is a ".r" file (".c" input)
>> .c.r:;rcr $(RCRFLAGS) -d$(RDIR) $*
> ".c.r:;rcr -s -y -dRS" is the result, i.e. rcr should look in directory 
> "RS"
> or ".c" files
> o, look for a "RS directory.
> The default for .c.r is:
> * .c.r specifies how to compile .c files into .r files.
> c:;$(CC) $(CFLAGS) $(LFLAGS) $< -f=$(ODIR/)$@
> That says to me that he is not using "CC" and is using his own version.
> "CC252" is the latest and best "CC" and you should target using it.
> So you need to understand both "Make" and "CC252" to make sense of what he
> s doing if you cannot find "/dd/sys/make.default". "rcr" is a sequencer
> ike "CC" I suspect.
> And the rest of the "C" compiler chain.
> "http://www.tandycoco.com/forum/viewtopic.php?f=23&t=113"
> May be useful, but I have not completed it, and may not.
> The "Microware C Compiler User's Guide Appendix B is required reading,
> Compiler Phase Command Lines" is where we started, some program names have
> een changed and there are added programs (Controlled by CC)
>
> You need to merge what is in "/dd/sys/make.default" with the makefile you
> ave listed to understand the entire process.
> ?
> I was working on collecting of the latest "C" Compiler parts so I have all
> he relevant files on my laptop.
> I have been switching looking at your e-mail, the Make documentation and
> iles including the source and CC252 documentation to understand his MAKE
> ile.
>
> ------------------------
> Customizing Make:
> - The major way you can customize make is to edit /dd/sys/make.default
>  to change the default rules to fit your own particular setup.
>  I am especially interested in knowing good default rules for use with
>  other languages (i.e. Pascal, ASM, RMA, etc.)
> - If you want to re-compile, there are a couple of easy customizations
>  you can make to the source:
>    - The filename for "/dd/sys/make.default" is defined in h.h.
>      You can change it to your preference.
>    - By undefining DEFN0, make will use compiled-in rules, defined
>      in rules.c.  This will help make start up faster.
> ------------------------
> SHF
>
> ---- Original Message ----- 
> rom: "Bill Pierce" <ooogalapasooo at aol.com>
> o: <coco at maltedmedia.com>
> ent: Tuesday, March 06, 2012 3:23 PM
> ubject: Re: [Coco] Looking for "C" utils
>
>
> Okay... I searched through all the source code in the project (107 files)
> and found no references to "cnoy". There was however, references to Rcr in
> the makefiles as follows:
>
> --------
> * Converted (much shorter) to Tim Koonce's Make 90/3/17
> * Stackchecking turned off for production 89/10/15
> * General rules.  .c.r specifies how to compile .c files into .r files.
>
> .c.r:;rcr $(RCRFLAGS) -d$(RDIR) $*
> .a.r:;$(RMA) $(RFLAGS) $< -o=$(RDIR/)$@
> EDIT=4
> ODIR=     # was /h0/cmds for Tandy Make bug
> RDIR = RS
> RCRFLAGS = -s -y
> --------
>
> This is using Tim Koonce's "make". I don't know if the "Rcr" is accociated
> with the "make" or just added.
> I checked the archive for TK's "make" and there they are not included
> there. I did download the "cnoy" from Gene's site. Once I get a Coco to PC
> serial made, both of these files are on my drives. I'm just trying to
> compile these files in VCC to see if I have all the right tools loaded, as
> compiling on VCC would be about 400% faster than a Coco and woking on a
> full screen editor (RainbowIDE) makes my tired eyes a little happier..
>
> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
> ooogalapasooo at aol.com
>
>
>
>
> -----Original Message-----
> From: Stephen H. Fischer <SFischer1 at Mindspring.com>
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Sent: Mon, Mar 5, 2012 7:55 pm
> Subject: Re: [Coco] Looking for "C" utils
>
>
> Hi,
> Perhaps where you found the reference to "Rcr" would help.
> The same for "CNoY" which I recognized, but it still may not be the
> correct
> ne.
> The one on Gene's page is for removing unnecessary instructions generated
> by
> he OS-9 6809 "C" compiler AFAIK.
>> At this point, I would add CnoY, from Genes site.  This is for coco3
>> level
> 2 & later only machines, and optimizes the ,y references out of the asm
> code generated, giving a slight speedup since the y reference is a machine
> cycle slower than an x, u, or s reference.
> You really must want the very fastest "C" code which Gene needed!
> I searched for "Rcr" in this list going back to April 10, 2008 and it has
> ot been discussed.
> SHF
>
> ---- Original Message ----- 
> rom: "Bill Pierce" <ooogalapasooo at aol.com>
> o: <coco at maltedmedia.com>
> ent: Monday, March 05, 2012 4:30 PM
> ubject: Re: [Coco] Looking for "C" utils
>
> Thanx Stephen, I have no idea what the Rcr is either
>
>
>
>
>
>
> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
> ooogalapasooo at aol.com
>
>
>
>
> -----Original Message-----
> From: Stephen H. Fischer <SFischer1 at Mindspring.com>
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Sent: Mon, Mar 5, 2012 6:30 pm
> Subject: Re: [Coco] Looking for "C" utils
>
>
> Hi,
> "Rcr" I have no idea.
> "CNoY" is on Gene's web page:
> -------------------------
> heers, Gene
> -
> There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> Ed Howdershelt (Author)
> y web page: <http://coyoteden.dyndns-free.com:85/gene>
> ailure is more frequently from want of energy than want of capital.
> ----------------------
> Below the picture you will see:
> "I have copied some possibly useful things from the coco's hard drive to
> ere."
> The word "here" when clicked on will get you to the directory.
> "Rcr" perhaps is a routine to remove Carriage Returns, but why would you
> ant to do that?
> SHF
>
> ---- Original Message ----- 
> rom: "Bill Pierce" <ooogalapasooo at aol.com>
> o: <coco at maltedmedia.com>
> ent: Monday, March 05, 2012 2:00 PM
> ubject: [Coco] Looking for "C" utils
>
>
> Hi guys,
> I'm looking for the "C" utils "CNoY" and "Rcr"
> I've run across references to them in some C source code I've been
> modifying
> I've looked through all the archives (RTSI, Repository & MaltedMedia) and
> if they
> are there, they're on a random disk image somewhere.
> Anyone know where.. or what to look for to find these files?
> Thanx
>
> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
>
> -
> oco mailing list
> oco at maltedmedia.com
> ttp://five.pairlist.net/mailman/listinfo/coco
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>
> -
> oco mailing list
> oco at maltedmedia.com
> ttp://five.pairlist.net/mailman/listinfo/coco
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list