May 16th, 2012, 4:49
example wrote:Detect DEV0:
1. select DEV0: write to "shadow-device-register" with value of 0x0 or 0xA0
2. deliver command: write command-code 0xEC to "shadow-command-register"
3. check DEV:
DEV0 present: DEV==0 & ERR==0
DEV0 isn't present: DEV==0 & ERR==1 & "signatures" indicate this DEVICE isn't ATAPI device
Detect DEV1:
1. select DEV1: write to "shadow-device-register" with value of 0x10 or 0xB0
2. deliver command: write command-code 0xEC to "shadow-command-register"
3. check DEV:
DEV1 present: DEV==1 & ERR==0
DEV1 isn't present: DEV==1 & ERR==1 & "signatures" indicate this DEVICE isn't ATAPI device
DEV1 isn't present: DEV==0 (indicate Master-Only emulation)
Powered by phpBB © phpBB Group.