Adjustments with DVD-RAM formatting
This commit is contained in:
parent
65cf751a30
commit
1cfb29f032
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2008.04.18.092816"
|
#define Cdrskin_timestamP "2008.04.18.194602"
|
||||||
|
@ -2791,6 +2791,17 @@ no_suitable_formatting_type:;
|
|||||||
(16 - 8 * i)) & 0xff;
|
(16 - 8 * i)) & 0xff;
|
||||||
sprintf(descr, "%s", d->current_profile_text);
|
sprintf(descr, "%s", d->current_profile_text);
|
||||||
return_immediately = 1; /* caller must do the waiting */
|
return_immediately = 1; /* caller must do the waiting */
|
||||||
|
c.page->data[1] |= 0x80; /* FOV = this flag vector is valid */
|
||||||
|
|
||||||
|
/* <<< ts A80418 : experiment: MMC-5 6.5.3.2 , 6.5.4.2.1.2
|
||||||
|
DCRT: Disable Certification and maintain number of blocks
|
||||||
|
c.page->data[1] |= 0x20;
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* <<< ts A80418 : experiment: MMC-5 6.5.4.2.1.2
|
||||||
|
Override maintaining of number of blocks with DCRT
|
||||||
|
c.opcode[1] |= 0x08;
|
||||||
|
*/
|
||||||
|
|
||||||
} else if (0 && d->current_profile == 0x43 &&
|
} else if (0 && d->current_profile == 0x43 &&
|
||||||
burn_support_untested_profiles) {
|
burn_support_untested_profiles) {
|
||||||
@ -2821,14 +2832,27 @@ unsuitable_media:;
|
|||||||
}
|
}
|
||||||
c.page->data[8] = (format_type << 2) | (format_sub_type & 3);
|
c.page->data[8] = (format_type << 2) | (format_sub_type & 3);
|
||||||
|
|
||||||
sprintf(msg, "Format type %2.2Xh \"%s\", blocks = %.f\n",
|
sprintf(msg, "Format type %2.2Xh \"%s\", blocks = %.f",
|
||||||
format_type, descr, (double) num_of_blocks);
|
format_type, descr, (double) num_of_blocks);
|
||||||
libdax_msgs_submit(libdax_messenger, d->global_index, 0x00000002,
|
libdax_msgs_submit(libdax_messenger, d->global_index, 0x00000002,
|
||||||
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_ZERO,
|
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_ZERO,
|
||||||
msg, 0, 0);
|
msg, 0, 0);
|
||||||
|
sprintf(msg, "CDB: ");
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
sprintf(msg + strlen(msg), "%2.2X ", c.opcode[i]);
|
||||||
|
libdax_msgs_submit(libdax_messenger, d->global_index, 0x00000002,
|
||||||
|
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_ZERO,
|
||||||
|
msg, 0, 0);
|
||||||
|
sprintf(msg, "Format list ");
|
||||||
|
for (i = 0; i < 12; i++)
|
||||||
|
sprintf(msg + strlen(msg), "%2.2X ", c.page->data[i]);
|
||||||
|
strcat(msg, "\n");
|
||||||
|
libdax_msgs_submit(libdax_messenger, d->global_index, 0x00000002,
|
||||||
|
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_ZERO,
|
||||||
|
msg, 0, 0);
|
||||||
|
|
||||||
|
|
||||||
/* <<<
|
/* <<<
|
||||||
*/
|
|
||||||
if(d->current_profile == 0x12 || d->current_profile == 0x43) {
|
if(d->current_profile == 0x12 || d->current_profile == 0x43) {
|
||||||
libdax_msgs_submit(libdax_messenger, d->global_index,
|
libdax_msgs_submit(libdax_messenger, d->global_index,
|
||||||
0x00000002,
|
0x00000002,
|
||||||
@ -2837,6 +2861,7 @@ unsuitable_media:;
|
|||||||
0, 0);
|
0, 0);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
d->issue_command(d, &c);
|
d->issue_command(d, &c);
|
||||||
if (c.error && !tolerate_failure) {
|
if (c.error && !tolerate_failure) {
|
||||||
|
Loading…
Reference in New Issue
Block a user