Dear Mr. Cole! I have just noticed a recent tread about printf. Could i have a copy of your user_printf() rutine. my email is pgb@c.dk Thanks!
"...trouble to figure out how to use the putchar, instead of printf." The trouble is that you are still missing the point; viz, that you do not use putchar instead of printf. http://www.8052.com/forum/read.phtml?id=72968 printf calls putchar to perform the actual output of each character; Graham's user_printf will do exactly the same - so it will make no difference to your problem here. What you need to do is to write your own putchar to implement your required behaviour. You have already been given a link that describes exactly how to do just that: http://www.keil.com/forum/docs/thread4150.asp