[Coco] Fwd: MW-C Cross compiler bug - Solved

Gene Heskett gheskett at wdtv.com
Mon Mar 10 05:34:02 EDT 2014


On Monday 10 March 2014 04:58:53 Willard Goosey did opine:

> On Mon, Mar 10, 2014 at 01:04:13AM -0400, Gene Heskett wrote:
> > More along this thread, I sicced "find" off to find clib.l on my
> > machine, and found on that I had apparently rebuilt for some reason I
> > don't recall now after 19 years, ran an rdump on it, and by golly, it
> > does have a memmove_a in it:
> > 
> > Module name: memmove_a
> > TyLa/RvAt:   00/00
> > Asm valid:   Yes
> > Create date: Jun 29, 1995 14:20
> > Edition/ROF:  0/1
> 
> Could you poke around a little more for the source? This isn't in my
> version of Kreider's Clib or any other .l I have. It's also not in the
> clib source I have.
> 
> I don't really have 6809 assembly in my head at the moment but I
> glanced through Kreider's strcpy and didn't see anything obvious that
> would make it fail on overlapping source & destination.
> 
> Willard

I have find searching the maxtor image for it.  I also note that for 
whatever reason, I have at least 3 clib.l's in the directory it was found 
in:

clib.3.l        clib.l          clib.older      clib.original

Its busy running find ATM or I'd ask it for a dir -e to get a bit better an 
idea of the history. (15 mins later) no memcopy src.

The dir -e output shows:
Owner  Last modified   Attributes Sector Bytecount Name
----- ---------------- ---------- ------ --------- ----
   0  2003/01/30 02:21  d-ewrewr   4061C       5E0 CGFX_SRC_DOCS
   0  1988/10/31 23:00  ----r-wr   46F24        E4 abort.r
   0  1988/10/31 23:07  ----r-wr   46F28       126 access.r
   0  1989/12/06 21:53  ----r-wr   46F2C      8414 alib.docs
   0  1989/09/20 21:25  ----r-wr   46F30      2BE8 alib.l
   0  1988/10/29 20:38  ----r-wr   46F34       3B9 arctan.r
   0  1994/08/01 11:22  ----r-wr   46F38       24A b09start.3.r
   0  1994/08/01 11:22  ----r-wr   46F3C       25B b09start.r
   0  1988/10/31 23:05  ----r-wr   46F40        63 cfinish.r
   0  1992/03/30 20:36  ----r-wr   46F44      62F5 cgfx.l
   0  1993/11/14 21:05  ----r-wr   46F48      645A cgfx7.l
   0  1988/10/31 23:06  ----r-wr   46F4C        C0 change.r
   0  1995/08/39 20:25  ----r-wr   46F50      CFFD clib.3.l
   0  1995/12/23 22:31  ----r-wr   46F54      CF51 clib.l
   0  1993/10/26 08:12  ----r-wr   46F58      7E05 clib.older
   0  1989/12/28 21:32  ----r-wr   46F5C      5C5B clib.original
   0  1995/08/39 20:26  ----r-wr   46F60      EBEC clibt.3.l
   0  1995/08/39 20:25  ----r-wr   46F64      EAD6 clibt.l
   0  1993/10/09 19:28  ----r-wr   480E8       9B8 cmath63.l
   0  1988/10/29 20:23  ----r-wr   480F4        B3 cos.r
   0  1995/07/05 09:38  ----r-wr   480F8       378 cstart.3.r
   0  1994/08/01 11:24  ----r-wr   48100       2A6 cstart.r
   0  1993/01/23 16:00  ----r-wr   48104       28A cstart6309.r
   0  1988/10/29 20:41  ----r-wr   48108        B6 dabs.r
   0  1994/08/01 11:24  ----r-wr   4810C       CDD dbg.l
   0  1988/10/29 20:55  ----r-wr   4811C        EC dfix.r
   0  1988/10/29 23:30  ----r-wr   48120        FE dint.r
   0  1988/10/31 23:02  ----r-wr   48124        56 dir.r
   0  1989/12/29 21:32  ----r-wr   48128       C17 display.r
   0  1989/12/29 21:21  ----r-wr   48138       7D0 display2.r
   0  1993/10/10 00:00  ----r-wr   48144       193 divtime
   0  1988/10/29 21:21  ----r-wr   48148        D4 dsign.r
   0  1993/09/18 23:44  ----r-wr   4814C        6C dsqr.r
   0  1988/10/29 21:30  ----r-wr   48150       389 exp.r
   0  1992/10/10 02:28  ----r-wr   48158      2550 gui.l
   0  1988/10/31 23:03  ----r-wr   48180        9A id.r
   0  1988/10/31 23:04  ----r-wr   48184        87 intercept.r
   0  1988/10/31 23:01  ----r-wr   48188       147 io.r
   0  1988/10/29 21:34  ----r-wr   4818C        D4 less.r
   0  1988/10/30 10:14  ----r-wr   48190        F5 make.lib
   0  1988/03/09 00:51  ----r-wr   48194        F9 make.sys
   0  1988/10/29 23:55  ----r-wr   48198        7F maketrig.lib
   0  1992/08/16 00:24  ----r-wr   4819C       1E8 malloc.r
   0  1988/10/31 23:02  ----r-wr   481A0       103 mem.r
   0  1991/04/17 10:02  ----r-wr   481A4       1D2 memlib.l
   0  1988/10/31 23:01  ----r-wr   481A8        A1 misc.r
   0  1988/10/31 23:02  ----r-wr   481AC        98 mod.r
   0  1987/11/28 10:23  ----r-wr   481B0       25F modem.l
   0  1993/10/09 23:59  ----r-wr   481B4       191 modtime
   0  1993/10/10 00:00  ----r-wr   481B8       191 multime
   0  1988/10/29 21:43  ----r-wr   481BC       340 nlog.r
   0  1988/10/31 23:03  ----r-wr   481C4        DC process.r
   0  1988/10/31 23:27  ----r-wr   481C8       1A4 prof.r
   0  1988/10/31 23:05  ----r-wr   481CC        3B profdummy.r
   0  1988/10/29 22:51  ----r-wr   481D0       58B read.me.re.trig.l
   0  1993/09/11 15:41  ----r-wr   481D8       BA2 readme.alib
   0  1993/10/10 08:59  ----r-wr   481E8       36D readme.cmath63
   0  1988/10/29 21:46  ----r-wr   481F0        B7 reduce.r
   0  1994/08/01 11:24  ----r-wr   481F4        FA rmastart.3.r
   0  1994/08/01 11:24  ----r-wr   481F8       107 rmastart.r
   0  1989/12/24 20:18  ----r-wr   481FC       C50 root.r
   0  1988/10/31 23:06  ----r-wr   4820C        D9 signal.r
   0  1988/10/29 21:50  ----r-wr   48210        93 sin.r
   0  1988/03/26 22:21  ----r-wr   48214       482 sincos.r
   0  1988/10/29 22:02  ----r-wr   4821C       205 sqrt.r
   0  1988/10/31 23:01  ----r-wr   48220        C5 stat.r
   0  1992/02/01 23:05  ----r-wr   48224        7A strupr.r
   0  1987/03/18 16:47  ----r-wr   48228       B92 sys.l
   0  1995/07/20 00:53  ----r-wr   48238        BA syscall.3.r
   0  1988/10/31 23:04  ----r-wr   4823C        6B syscall.r
   0  1988/10/31 23:04  ----r-wr   48240        5D syscommon.r
   0  1988/10/31 23:05  ----r-wr   48244        37 tidyup.r
   0  1988/10/31 23:03  ----r-wr   48248        5D time.r
   0  1995/06/14 22:57  ----r-wr   4824C      17BA trig.l
   0  1995/06/15 17:21  ----r-wr   48268      17BA trig8.l
   0  1988/11/01 07:58  ----r-wr   48284        96 waitkey.r
   0  1995/08/19 22:25  ----r-wr   48288         0 cgfx8.l

thats all.  I think, its been a long time, that the *3.l stuff is 6309 
built.  And the *8.l is 6809 only.

I can pack up that clib.l and PM it to you. I note there is a huge diff in 
the sizes too.  Or I can make a dir in Genes-os9-stf and put it all there 
as an archive you can pull & bust, probably easier to move if I make an 
archive out of it, I have several compressors on the coco too, if I can 
recall how to drive them.  Even pak iirc.  Name yur poison and give me a 
day to get it moved as I'll have to do it thru minicom, my drivewire is 
busted, and a fresh salt chip didn't fix it as I suspect I blew that one 
already.  The real cure may be to just build a 7808/7908 regulator for it 
and put in the 2nd salt I bought at the time.  I was running that 8 volt 
stuff on a full +- 12 volts, got by with it for about 20 years though. :)

Cheers, 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)
Genes Web page <http://geneslinuxbox.net:6309/gene>




More information about the Coco mailing list