Page 1 of 1

User register for short-term storage (on 8910 w/ extender1)

Posted: Fri Aug 27, 2004 6:51 pm
by tkenn1s
I'm using extender1 on the 8910. What I'm trying to do is create a new protocol that will store a keycode to be executed at a later time.

Is there a register location I can safely use to store the keycode? Are there any of the RCx registers free? I see the extender uses many of the RC registers, but, it looks like some of them may be free (RC5, RC6, RC8, RC9, RCF) Or, should I steal a register from the macro buffer? (Say RAE)

Thanks in advance.

-T

Posted: Sat Aug 28, 2004 5:07 pm
by The Robman
RCx registers are not a good place to store data like this, these should be treated as strictly temporary storage. In fact, the only RCx register that is left untouched by the IR engine is RC6 (or is it RC5, I forget).

There are usually regular registers available that you can use, but one of the extender writers would have a better idea which ones might be free.

Posted: Sat Aug 28, 2004 5:43 pm
by tkenn1s
Thx Rob. I guess I'll wait for one of the extender guys to respond.

For the moment, I will just steal a byte from the macro buffer -- not ideal, but, I don't have many long macros.

I notice that the extender source doesn't list anything in the R5x registers. Don't know if that's because they are free or because those have not been mapped.

Posted: Sat Aug 28, 2004 7:48 pm
by The Robman
The source might refer to them as Wx rather than RCx.

Posted: Sun Aug 29, 2004 12:41 pm
by vasqued2
Stealing one from the macro buffer is the safest.

Also R6C & R6D are used when the extender is activated but never used after that. I think you should be able to reuse them too.

David