Hi! ______________O\_/_________________________________\_/O______________ void ReadAllPartitionTables(void) [...] for (Unit = 0; Unit < 2; Unit++) { pddt->ddt_type = init_getdriveparm(0, &pddt->ddt_defbpb); memcpy(&pddt->ddt_bpb, &pddt->ddt_defbpb, sizeof(bpb)); [...] init_call_intr(0x11, ®s); /* get equipment list */ if ((regs.a.x & 1) && (regs.a.x & 0xc0)) { pddt->ddt_type = init_getdriveparm(1, &pddt->ddt_defbpb); _____________________________________________________________________ O/~\ /~\O
When redefining DDT for drive B: (if it present), then ddt_defbpb is updated (init_getdriveparm()), but ddt_bpb - not (no call to memcpy()). Bug? ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel