fix above link. please re-download.
about SecuROM
Thanks info. I want to research for the future.
Thanks info. I got CDparanoia src code.
static int i_read_D8 (cdrom_drive *d, void *p, long begin, long sectors, unsigned char *sense){
int ret;
unsigned char cmd[12]={0xd8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
if(d->fua)
cmd[1]=0x08;
cmd[1]|=d->lun<<5;
cmd[3] = (begin >> 16) & 0xFF;
cmd[4] = (begin >> 8) & 0xFF;
cmd[5] = begin & 0xFF;
cmd[9] = sectors;
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
return(ret);
if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
return(0);
}
umm.. this code, bit 3 of byte 1 (fua) is on. My tool is already same implementation.
As described in the MMC spec (http://www.t10.org/ftp/t10/drafts/mmc4/mmc4r02f.pdf),
READ_CD does not allow any FUA bit at all, so if this reading method is chosen then
flushing tricks are needed. However, other MMC commands like READ10 (0x28) and
READ12 (0xA8) support the FUA bit.
I know this pdf, and I know above. My tool call READ12 to reread.