JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

What's involved in porting an extender?

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Extenders
View previous topic :: View next topic  
Author Message
flynwill



Joined: 13 Dec 2008
Posts: 4

                    
PostPosted: Sun Feb 14, 2010 12:47 pm    Post subject: What's involved in porting an extender? Reply with quote

Question from a long-time JP1/IR user... What is involved in porting an extender to a new remote? I have a brand new URC-8820N for which I would love to have the same LKP and Macro capabilities that I use on my 8910 remotes. I see that there is an "non-N" version of the 8820, is porting just a matter of finding where the ROM entry points have moved to?
Back to top
View user's profile Send private message
khonderd



Joined: 13 Jan 2010
Posts: 13

                    
PostPosted: Mon Feb 15, 2010 1:13 pm    Post subject: Re: Extender Reply with quote

You may want to contact vickyg2003 as she wrote the original extender and was planning on porting it herself. I was thinking of trying to port it also, but it's been a long time since I've written code so I'm not sure I'd be up to it. Let me know if you hear from her, and whether you are going to work on it. If nobody else is, I may give it a crack.
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Mon Feb 15, 2010 9:13 pm    Post subject: Reply with quote

It typically takes me about 100 hours to get an extender up and running. I have a 10820N to work with, but I haven't had a spare minute, to work on this.
_________________
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Back to top
View user's profile Send private message Visit poster's website
unclemiltie
Expert


Joined: 21 Jan 2004
Posts: 1795
Location: Pittsburgh, PA

                    
PostPosted: Tue Feb 16, 2010 12:00 am    Post subject: Reply with quote

As one who has done it a few times I'll offer up my few cents.

First, you had better really understand how the underlying extender works. I'm not an expert in the HS08 assembler, so I have no idea how the extenders that Vicky has done behave, but I'd first get an idea of what they're doing and how they do it. This will involve some understanding of just what goes in on the unextended remote.

Second, you're going to need some help from the "experts" in here to give you an idea of how to find the entry points as well as the register usage inside of the remote. It helps if you're working from one that is similar since it'll be easier to find stuff and easier to understand what's going on inside.

Third, once you've gotten the code tweaked to "work" on your remote (i.e . you have all of the entry points and registers) you have to debug it. This is actually the harder part of the process. If you look at some of my extender sources (take a look at the 9960B01 for example) you will see a ton of conditional assembly that puts in "known" macros and then writes stuff to the E2 area at certain points so that I can see what is going on. These are very hard to debug since all you have is one LED to blink and a limited ability to write back to the E2 to see register values.

In the end, I would agree with Vicky that the process of getting one to beta testing is about 100 hours. most of it is in the debugging. UEI has a knack of making remotes just a little bit different inside so that what you thought would work right in the past doesn't work right anymore. (again, look at the assembly differences between the 6960 and 9960 in my source and you'll see what I mean)

I've done a lot in the past to try to use a single source file to build extenders for a number of remotes. This way when I find a bug in one, I can fix it in all without a lot of work. I'd recommend this as long as the HS08 assembler supports conditional assembly.

Oh, and once you're done, be prepared for lots of questions and really odd bug reports that you'll have to somehow find the time to understand and track. Although I must say that I haven't seen much action on the Atlas/Radio Shack Jp1.3 remotes lately.

(and yes, I am planning on porting the JP1.3 extender to the RCA remote, Just need to find a bit of time.

-bill
_________________
this JP1 stuff is a sickness!
Back to top
View user's profile Send private message
khonderd



Joined: 13 Jan 2010
Posts: 13

                    
PostPosted: Wed Feb 17, 2010 12:48 pm    Post subject: Thanks Reply with quote

Thanks Bill and Vicky. Way out of my league then. I am extremely grateful for all those who take the time to write these things and then are gracious enough to share it with the rest of us.
Back to top
View user's profile Send private message
unclemiltie
Expert


Joined: 21 Jan 2004
Posts: 1795
Location: Pittsburgh, PA

                    
PostPosted: Mon Feb 28, 2011 11:39 pm    Post subject: Reply with quote

As a data point for you who may be interested:

My change log on the source for the RCRP05b extender says this:

4/4/10 first port of the source from the Atlas extender
2/20/10 release of V1.0 of the extender


The Atlas says this (it has the most versions since it was the first port to a JP1.3 remote)

9/21/07 first port of the URC-9960B01 extender to Atlas
8/16/08 first release of the Atlas extender
12/20/08 version 2.0 of the Atlas extender
12/4/10 version 2.11 of the Atlas extender


I'm now just realizing that I have spent a ton of time on these damned things!
_________________
this JP1 stuff is a sickness!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Extenders All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control