[Coco] DriveWire

Darren A mechacoco at gmail.com
Fri Mar 6 16:29:13 EST 2009


On 3/6/09, Robert Gault wrote:
>
> Here is the ml code that moves the ROM. Any reason why this
> shouldn't work?
>
>   org $7000
> start orcc #$50
>   ldx #$3000    where the ROM was offset loaded
>   ldy #$c000
> a@ ldd ,x++
>   std ,y++
>   cmpx #$e000
>   blo a@
>   jmp $c002
>   end start
---

There is a problem with that routine.  The  CMPX #$e000  should be
CMPX #$5000  (or CMPY #$e000).

Darren



More information about the Coco mailing list