diff -r -c ../legOS-0.1.7/conio.c ./conio.c *** ../legOS-0.1.7/conio.c Fri Mar 19 11:34:55 1999 --- ./conio.c Mon Mar 29 18:49:41 1999 *************** *** 353,362 **** void cputw(unsigned word) { unsigned char *ptr=(unsigned char*) &word; ! cputc_native_3(hex_display_codes[(*ptr)&0xf]); ! cputc_native_4(hex_display_codes[(*ptr)>>4]); ! cputc_native_1(hex_display_codes[(*(++ptr))&0xf]); cputc_native_2(hex_display_codes[(*ptr)>>4]); } #ifndef NO_ASCII --- 353,362 ---- void cputw(unsigned word) { unsigned char *ptr=(unsigned char*) &word; ! cputc_native_1(hex_display_codes[(*ptr)&0xf]); cputc_native_2(hex_display_codes[(*ptr)>>4]); + cputc_native_3(hex_display_codes[(*(--ptr))&0xf]); + cputc_native_4(hex_display_codes[(*ptr)>>4]); } #ifndef NO_ASCII