[comp.sys.ibm.pc] 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>

txr98@wash08.UUCP (Timothy Reed) (07/15/88)

In article <1647@titan.camcon.uucp> mb@camcon.uucp (Mike Bell) writes:
>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
>
>	*please don't use USENET to debug programs*
>
>-- Mike Bell -- <mb@camcon.uucp>,<mb@camcon.co.uk> or even <...!ukc!camcon!mb>

programming questions are just as valid as lawyer jokes or alt.flames or  
the other junk that usenet carries.  God forbid - programming questions
on a net - would this jeopardize bandwidth for rec.gdead or comp.soc.women?

Programmer information-exchange is one reason this net exists, bub.
~
~
~
~
~
~
"/Timothy/Reed/American/Chemical/Society" 32 lines, 1038 characters