Hello, Any one have a simple algorithm to change absolute positioning to 8 bit mode. Using Visual C++/MFC.
Sat down and worked it out…
Here is a little bit of MFC code that does it.
long num;
char bnum[2];
int i;
num = 5500;
for (i = 0; i < 2; i++) {
bnum[i] = (char) num & 0x7F;
num = num >> 7;
}
CString v;
v.Format("0x%x, 0x%x", bnum[1], bnum[0]);