[comp.lang.pascal] Q. What am I doing wrong ?

mb@camcon.uucp (Mike Bell) (07/12/88)

From article <1275@csuna.UUCP>, by abcscnuk@csuna.UUCP (Naoto Kimura):
> The problem I am having is that when I use the routines (listings are
> included in the article) that I have written, I get the wrong baud
> rate (see code in AUXIO.INC).    I am hoping to get this code

>     _COM_4800		= $C0;	(* 110- ---- *)
>     _COM_9600		= $D0;	(* 111- ---- *)
                           ^^      ^^^^
Actually $D0 is 11010000. 

Like the Turbo-Pascal Compiler, I only report the first error...

More seriously, I appreciate your problem, but

	*please don't use USENET to debug programs*

Although the occasional challenge is nice, if everybody started doing
this it would be chaos...  (we all have enough bugs of our own to
contend with:-)

Your question about whether there is a better way to solve the problem
is perfectly valid, however: but I don't know the answer.
-- 
-- Mike Bell -- <mb@camcon.uucp>,<mb@camcon.co.uk> or even <...!ukc!camcon!mb>