I was assuming the default was Cable, but the following line may have to be changed if that's not the case:
Code: Select all
RR_DevASetup = RR4E ;Setup code of active deviceHal
Moderator: Moderators
Code: Select all
RR_DevASetup = RR4E ;Setup code of active deviceI just realized 03 and 04 are transposed in my test upgrade, so it's working correctly.joshville wrote:It worked as advertised, except that "4" blinked 3 times and "3" blinked four times.
I didn't set 1800 in IR, I used the setup method on the remote to manually change codes.I don't think this would work because the remote can't know about the device button settings addresses in the extender RDF.
Code: Select all
SUB RC1, _TV ;Is it a command to change a DevIndex?Code: Select all
SUB RC1, _CATV ;Is it a command to change a DevIndex?Code: Select all
_1stDev = _CATV
...
SUB RC1, _1stDev ;Is it a command to change a DevIndex?
This sounds like the extender is crashing when you press a volume key. Could try this one with unextended?Also, there is some strange behavior after the upload to the remote. If I press any of the device keys (before pressing a volume key), the lights under the device keys go through their little sequence show the same as they do when you're manually, on the remote (), changing the device code for that key.
After initializing with a volume key there is also some strange behavior. If I press only volume keys I get an alternating pattern of no LED response and the 1 long 3 short that I get when initializing the extender. Like:
Press [no blinks]
Press [1 long 3 short blinks]
Press [no blinks]
etc.
I can press any number of non-volume keys and I get a normal single blink of the LED, but then if I press a volume key afterward I get the 1 long 3 short pattern again.
Code: Select all
Upgrade code 0 = 2c 50 (TV/1104) (RM v1.26)
fb 00 f1
0a 01 02 04 03 05 06 07 08 09 03 04 05 06 07 01
End
Upgrade protocol 0 = 01 fb (S3C80) pause-DCP501R (RM v1.26)
00 00 01 28 03 8d 14 50
EndCode: Select all
; ---- Device/Protocol upgrades for loading extender
tv_1800: ;22;
db 80 ;Protocol = 0x180
db 0 ;No digit map
db 41 ;21; volume keys definedThis part of the Readme of s3c8asm is explaining it.I also have a question about the programming. I've been trying to go through the ASM file line by line to try to deconstruct what's going on. I was trying to check the differences between JR, JRNE, etc, but didn't find JRNE in the processor instruction set referenced by Rob in the previous post. Is it in a newer/different version of the processor? or some undocumented function? or am I just way over my head? (most likely scenario)
What this exactly means is, s3c8asm takes "JRNE <label>" instead of "JR NE, <label>". John did it this way perhaps because this is more common notation for assemblers for many other major chips, such as Intel, MIPS, etc. I feel more comfortable with this style, too.The ASM syntax is similar to the various S3C8 dissasemblers around
except:
1) The condition code in a conditional JP or JR are part of the opcode,
rather than being an operand.
Ok, now I'm confident that it wasn't my fault. The ButtonMaps section in all of those RDF's are wrong. ($25 and $26 are transposed.)joshville wrote:... with the 3 and 4 transposed.
I also captured them for the next RDF release with the right namesThe Robman wrote:Thanks for catching the RDF bug Hal, I have updated the 3 RDFs that are in the RDF folder.