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

Support forum for extenders. If you're having trouble getting one up and running, this is the place to come.

Moderator: Moderators

Post Reply
tkenn1s
Posts: 12
Joined: Mon Aug 16, 2004 6:44 pm

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

Post 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
The Robman
Site Owner
Posts: 21944
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
tkenn1s
Posts: 12
Joined: Mon Aug 16, 2004 6:44 pm

Post 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.
The Robman
Site Owner
Posts: 21944
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The source might refer to them as Wx rather than RCx.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
vasqued2
Expert
Posts: 67
Joined: Sun Aug 03, 2003 2:12 pm

Post 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
Post Reply