Talk:CHS conversion

Hahaha
Heads per cylinder... Big lol. It probably has to be some number like 0.000002? Cylinder-head-sector read this someone.

Incorrect LBA -> CHS Information
The assembly code listed at the end doesn't appear to match the symbolic mathematics given. The code is correct but I don't believe the math is. Would someone like to correct this?

Incorrect LBA -> CHS Information
You are correct that the code is wrong. Two problems exist in the current code. First, the cylinders and heads need to be swapped. Second, the cylinder is actually 10 bits big when working with the BIOS interrupts while the sector is only 6 bits big. It would be nice for someone to modify this code as this code has propagated through out the internet. (Tested using a custom made boot sector in Bochs emulating a 1.44MB floppy.)

--Jorgy343 (talk) 03:04, 26 December 2009 (UTC)