I wan't to convert a char of 8 bits to a short so that I get a total of -32767 to 32767. Basically stretching it.
If i just simply shift by 8 I get 0xff00, not 0xffff as expected. So to get the full values do I just add ff to it?
Y - value>>8 + value //didn't seem to work right.