CDFSsoftATAPI v.1.23 bug Fix

20 Apr 1996 12:40:23 GMT The University of York, UK 

Newsgroups: 
   comp.sys.acorn.programmer 

Hello

After a little work I have a Bug Fix for CDFSsoftATAPI v.1.23 (31 Mar 1995)
(RISCOS 3.6 version). I am not sure if the bug is the fault of my six speed
Aztech CDROM or the module, but one of them is not truely ATAPI!!

This small change fixes two bugs 

1) "Compact disc Faulty " error with any data CDROM on the aztech drive.

2) " Not an audio track" error. This mainly occurs with sampleCD

The bug is in the CD_SetParameters code. This fix prevent the errors being 
generated. The actual error is generated much lower down in the code &1598.
This piece of code is used by mamy other CD_ SWI's so it cannot be changed here.
This fixes is not the best solution to the problem but it seams to work.

Using !ZAP get the module and goto &484 change the BVS &8D0 to MOV R0,R0.
Save the Module to !boot.choices.boot.PreDesk
Reboot machine 
All should now be okay.

I still have a problem with large files eg. >490k. When I drag a JPEG to
!changeFSI the JPEG will be corrupt. When I copy the JPEG to harddisc and 
then to !changeFSI it will be okay. This is not effected by changing the
buffersize.

When using SampleCD I find I have to use the following sequence :
        Click on Play
        Set Start (0 00:00:00 does not seam to be valid)
        set Length
        Click on stop and then wait 
        Drag icon to disc

This fix has only be tested on my machine with my hardware! It might not work
for you.

There does seam to be a verison 1.30e floating about but it also has the same
errors for me.

CDspeed thinks it can get 1.367Mbytes/second off my CDROM !!

Hope this will help some people

Dominic



