<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 24 Aug 1994 07:25:59 +0100
From   : jfid@... (James Fidell)
Subject: Re: BASIC appears to be working - with no output?!?

"Chris L. Rae" wrote:

> I've had another quick look at mine and it appears that BASIC is working 
> because OSC.("H.") comes up with the same message as *HELP. Hmm.
> 
> Also, I have discovered a bug in ADC (if a rather small one) which could 
> save me because it happens quite a lot when BASIC is displaying things. 
> When there is overflow, ADC ignored the carry! Very odd. So with C=1, 
> adding &F0 to &20 gives &10 instead of &11. I *think* this is wrong, am I 
> right? I'm going to fix it so it doesn't do it anymore, so I'll soon see 
> if it's the key...

Adding &F0 and &20 when C is set should give A = &11 and leave C set, N
and V clear (I think...)

James.

-- 
 "Yield to temptation --             |
  it may not pass your way again"    |     jfid@...        
                                     |
        - Lazarus Long               |              James Fidell
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>