[Coco] bug in Basic09

Robert Gault robert.gault at worldnet.att.net
Sat Aug 12 09:30:09 EDT 2006


Robert Gault wrote:
> OK, I think this will correct the Basic09 code. I need to test it.
> 
>   bcs L4FEC
>   lda ,x
>   cmpa #100
>   blo L5021
>   ldb #'/
> cnty suba #100
>  bhs cnty
>  bsr L5025
>  lda #'/
>  etc.
> 
> -
> To remove yourself from the list, send a message to "majordomo at nitros9.org"
> 
Well that's not quite correct. Here is a tested patch that works.

*         bsr   L5021      Start converting
          lda   ,x+
          ldb   #'/
          cmpa  #100
          blo   Y19
cnty     suba  #100
          bhs   cnty
          adda  #100
Y19      bsr   L5025
Y19b     lda   #'/        Append /




More information about the Coco mailing list