finding sectors per track

Programming, for all ages and all languages.
Post Reply
User avatar
bloodhound23
Member
Member
Posts: 115
Joined: Wed Jan 23, 2008 7:13 pm
Contact:

finding sectors per track

Post by bloodhound23 »

As I am writing my bootloader to load from an ext2 filesystem, how do I find the sectors per track to use when converting from LBA to CHS?
I thought I wasn't thinking, I thought wrong.
User avatar
mathematician
Member
Member
Posts: 437
Joined: Fri Dec 15, 2006 5:26 pm
Location: Church Stretton Uk

Post by mathematician »

Assuming you are still in real mode, int 13h, ah = 8.
Post Reply