Okay, now I have to load the accumulator with a parametric value.
Not sure how to do this in C. I can do constant-string assembly:
asm("LDA $F00");
...but I really really really really doubt I can do this:
char onTheFly[16];
onTheFly = "LDA $BAA";
...
asm( onTheFly );
So I can't set the accumulator or X or Y registers that way.
I know the SYS command will load A, X, Y, and Status. But... that's BASIC. Does that call a KERNEL routine, perhaps? Hmmm perhaps.