[Coco] Was reading HDB-DOS code to relax

Luis Antoniosi (CoCoDemus) retrocanada76 at gmail.com
Sun Jan 26 21:07:22 EST 2014


juan it's not the same thing.

test the results with 2 and 3 with both codes


On Sun, Jan 26, 2014 at 8:20 PM, Juan Castro <jccyc1965 at gmail.com> wrote:
> Saw this:
>
> LC0BD  bita  #$01    * CHECK TO SEE IF ACCD IS ON AN EVEN
>        beq   LC0C2   * 512 BYTE (ONE GRAPHIC PAGE) BOUNDARY - ADD
>        inca          * 256 (INCA) TO IT IF NOT
> LC0C2  tfr   A,B     COPY ACCA TO ACCB
>
> Why not just:
>
>        inca
>        anda  #$FE
>        tfr   A,B
>
> Juan
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco



-- 
Long live the CoCo



More information about the Coco mailing list