[Coco] dbg.l

gene heskett gheskett at wdtv.com
Sun May 1 04:17:22 EDT 2011


On Sunday, May 01, 2011 03:58:15 AM Willard Goosey did opine:

> On Sat, Apr 30, 2011 at 09:03:50PM -0400, gene heskett wrote:
> > Oh Fudge.
> 
> Libraries with no docs or prototypes call for Fudge.  Incomplete libs
> call for something stronger. ;-)

Black Label Jack Daniels maybe?

Most of the stuff I did in C, just worked once I had c.prep capable of 
handling big enough src files.  I have no clue where I even collected that 
library from.  In terms of debugging, what is now krnp4 is what I used, 
sprinkling calls to that here and there in my assembly code, mainly to make 
sure I was keeping the stack cleaned up properly. krnp4 is the F$RegDump 
call.

> > A memory leak in that event.  It would probably need an int *,
> > allocated by the calling program, and a char * to a 2 byte buffer
> > your program should allocate, and then free when its done with it.
> 
> True, that.
> 
Basic housekeeping.

> > I am going to guess that gethex in fact uses htoi for the translation
> > between a hex string and an int value, unsigned since its a hex
> > string.
> 
> Could be.
> 
> > I have no clue about the last one.
> 
> I wonder if it might be get stack pointer?  It is for some sort of
> debugger thing, after all.
> 
> Come on people!  CC252 has special support for this library,
> *SOMEONE* should know about it!

But are they still part of the coco world?  Some very useful code is now 
orphaned because we can't find the original author to ask him if we could 
change the license to GPL.  Heyu is one such, but because the original 
license is not GPL compatible, likely will never be part of a linux 
distribution.  The code itself is being actively maintained by another 
person.  I use it here for some lighting automation.

> Willard


-- 
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)
<http://tinyurl.com/ddg5bz>
<http://www.cantrip.org/gatto.html>
"One size fits all":
	Doesn't fit anyone.



More information about the Coco mailing list