Various fixes to bugs both new and old.
Detail: * Byte sex swap fix applied to the code to set the drive speed * SCSI-3 spec says that ATAPI packets have to be padded with 0 bytes; routines changed accordingly (though this does mean we now have to do a tedious copy onto the stack for every operation) * All disc errors returned from ADFS_ATAPIOp were accidentally ignored! * Internal disc number wasn't being shifted left by 15 bits before being used to do a REQUEST SENSE command packet, resulting in it doing a reset of any slave devices instead of sending a PACKET command * TARGETERROR error numbers weren't being correctly constructed in ATAPI_Op (it was using the error pointer instead of the sense key) * Worked round another assumption of flag preservation in CD_ SWIs * Fixed pathname of messages file to include $ Admin: Tested on Tungsten. Version 1.30. Tagged as 'ATAPI-1_30'
Showing with 44 additions and 24 deletions