#GURU #9,432,312.6
11-Jul-88 16:03:08
Sb: #133980-#GURU #9,432,312.6
Fm: John Draper 76703,4322
To: Black Belt Systems 76004,1771
Ben,
Withiut looking at the actual numbers (LVO, etc.), I think one of the
problems might be with the trashing of register in the smoother() function. For
an example of a C program using setfunction, see beepit in DL 9 or 10. I had to
use inline assembler (though Vic tells me I should have been able to do it
without). basically, I had to use asm to stash the registers for a proper
return, and had to use the getA4() function to point the compiler at the data
hunk. Hmm… if memory serves, I also had to put in a stub or two to get rid of
some excess bagage that the compiler put in there. Why not just write it in asm
to start with?
-larry