#include #include void PrintDebugHex(unsigned char x) { unsigned char z; z = (x>>4) & 0xf ; PrintDebug("%x", z); z = x & 0xf; PrintDebug("%x", z); } void PrintDebugMemDump(unsigned char *start, int n) { int i, j; for (i=0;i=32) && (start[j]<=126)) ? start[j] : '.'); } PrintDebug("\n"); } }