[Coco] Easy way to copy 40 track disks to the CoCoSDC?

Darren A mechacoco at gmail.com
Sat Apr 25 23:04:23 EDT 2015


On Sat, Apr 25, 2015 at 8:38 PM, Bill Pierce via Coco <coco at maltedmedia.com>
wrote:

> Art, I just checked some working code I have that does the rom switch and
> you are right. The code I posted was reversed.
> That means all 4 "Unravelled" (CB, ECB, DECB, SECB) books have typos as I
> checked all 4 and they all have the same code in the "Memory Map" section.
> So The correct code would be:
>
> START LDX #$8000
> LOOP CLR $FFDE
>  LDD ,X
>  CLR $FFDF
>  STD ,X++
>  CMPX #$FFEF
>  BLS LOOP
>  RTS
>  END



You also need to change the address in the CMPX instruction to #$FEFF.


- Darren


More information about the Coco mailing list