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

Bill Pierce ooogalapasooo at aol.com
Sat Apr 25 23:28:21 EDT 2015


Darren, yep, that was a typo on my part :-)
So the final correction would be:

*ROM2RAM
START LDX #$8000
LOOP CLR $FFDE
 LDD ,X
 CLR $FFDF
 STD ,X++
 CMPX #$FEFF
 BLS LOOP
 RTS
 END

Then to reset from BASIC:
POKE&HFFDE,0

Thanks.

 

 


Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
 

My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com


 

 

-----Original Message-----
From: Darren A <mechacoco at gmail.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sat, Apr 25, 2015 11:04 pm
Subject: Re: [Coco] Easy way to copy 40 track disks to the CoCoSDC?


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

-- 
Coco
mailing
list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco

 


More information about the Coco mailing list