[Coco] DriveWire

Robert Gault robert.gault at worldnet.att.net
Fri Mar 6 17:10:14 EST 2009


Darren A wrote:
> 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
> 

Duh, hits head, how obvious. Thanks Darren.

Now the ROM boots and runs. I can test or use it without burning an 
EPROM which means I can have both a hardware scsi system or a drivewire 
system without changing ROMs.



More information about the Coco mailing list