View Single Post
Old 13 March 2016, 18:15   #11
Global Moderator

prowler's Avatar
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Originally Posted by mark_k View Post
Online version of that (hardblocks.h include file) is here.
Thanks for the link!

I have corrected a typo in my listing. It appears to be an earlier version than the one given in your link. However I have left mine as is to match the one in the manual.

Originally Posted by mark_k View Post
I'm not sure exactly which device drivers (scsi.device etc.) support bad block lists. I know at least one does because I remember looking at its code. The driver has to handle remapping accesses to blocks which are marked as bad. Many/most probably don't because it would significantly complicate the code, and most(?) SCSI drives can be told to remap bad sectors so from then on access is transparent to the host computer.
scsi.device certainly supports bad blocks. The RigidDiskBlock explanation quoted above appears in the scsi.device section (but no other) in the DEVICES volume of the Amiga ROM Kernel Reference Manual.

Last edited by prowler; 13 March 2016 at 21:04. Reason: Corrected the listing in my earlier post.
prowler is offline  
Page generated in 0.04407 seconds with 10 queries