On July 24, 2008 at 12:14, gregag said...
My DSI distributor gave me a list of discrete codes for
every command. Of course they were codes I am completely
unfamiliar with. There were all four digit alphanumeric
codes and were of no use to me. I use pronto products
and use hex codes.
It is fairly easy to translate those codes to Pronto Hex, using the MakeHex program.
Toshiba uses NEC1 protocol. Each NEC1 signal encodes four bytes of data, each byte is two digits of hex, so your four digit codes cover two of the four bytes.
The four bytes are:
1) Device
2) Check byte for device
3) Function
4) Check byte for function
When a manufacturer gives you just two of those, they might be giving you (1) and (3) assuming you know how to compute (2) and (4) or they might be giving you (3) and (4) because (1) and (2) are the same across all functions of the same device.
All we really need to generate Pronto Hex is byte (3) because bytes (1) and (2) are the same for almost all Toshiba TV's and byte (4) can be computed from byte (3), and is computed by MakeHex.
If you post some of the codes you got, I can be a bit more specific, but basically:
Edit nec1.irp to set Device=64.
Drag/drom nec1.irp onto makehex.exe creating nec1.hex
Translate each byte (3) from hex to decimal in order to select the right numbered function from MakeHex output. (There are some alternatives decribed in the MakeHex readme file that you might or might not find easier).