[Coco] Looking for "C" utils

Stephen H. Fischer SFischer1 at Mindspring.com
Tue Mar 6 22:52:26 EST 2012


Hi,

Don't be bothered if you do not understand what I am saying, I skip many 
things that you may not know or understand.  And say much that you already 
know, 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 
to be understood.

Make is very powerful and hard to understand till you get the hang of it. 
Especially 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" 
for ".c" files
So, 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 
is doing if you cannot find "/dd/sys/make.default". "rcr" is a sequencer 
like "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 
been changed and there are added programs (Controlled by CC)



You need to merge what is in "/dd/sys/make.default" with the makefile you 
have listed to understand the entire process.

?

I was working on collecting of the latest "C" Compiler parts so I have all 
the relevant files on my laptop.

I have been switching looking at your e-mail, the Make documentation and 
files including the source and CC252 documentation to understand his MAKE 
file.


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

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 ----- 
From: "Bill Pierce" <ooogalapasooo at aol.com>
To: <coco at maltedmedia.com>
Sent: Tuesday, March 06, 2012 3:23 PM
Subject: 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 




More information about the Coco mailing list