Hi, 2007/7/23, Bart Oldeman <[EMAIL PROTECTED]>: > Although the ioctl.c restructuring is good, most of the chario.c > savings also help. A lot more could be saved in initdisk.c by using > the fact that the sector size equals 512 (the DOS code cannot assume > that with ram disks etc, but the BIOS code needs to assume 512 because > the BIOS int13 does not support any other size AFAIK -- though I've > heard Aitor claiming some things about an old AT I do not understand > how that can work -- what BIOS interface to use to figure out that > sectors have 1024 bytes?).
I put away the case a bit, but at that time I seem to remember that some hints then seemed to suggest that perhaps other sector size was being used, although your argument about the int13 is quite more convincing. With time I ended up believing that it's simple that the BPB is not correct. A pitty that I barely have access back to that machine (and old 286 machine), as I have my old PCs scattered across many different places, where I wanted to test with some disk checking tool created by Arkady long time ago, provided that the tool is still useable. So next time I see a window to acceed this machine, I'll ask Arkady for the tool and check it out. The most surprising test was that the drive could be correctly acceeded if you boot from a floppy, but you CAN'T boot from it. But then it was before I looked over the kernel sources, so could not even figure what was going on. Aitor ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Freedos-kernel mailing list Freedos-kernel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-kernel