Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,171 of 4,255    |
|    JJ to muta...@gmail.com    |
|    Re: sector size    |
|    22 Apr 22 19:55:58    |
      From: jj4public@gmail.com              On Thu, 21 Apr 2022 18:15:22 -0700 (PDT), muta...@gmail.com wrote:       > On Friday, April 22, 2022 at 5:49:11 AM UTC+10, JJ wrote:       >       >>> Next question - what is the philosophy for updating       >>> the BIOS? E.g. what would be the logical place to add       >>> a BIOS query for sector size?       >       >> BIOS already have functions for that. Why add another?       >       > Which function gives me sector size?              Int 13 Extension AH=48h Get Drive Parameter. Offset 18h of the returned       data.              Though, it's only for harddisk. You'll have to create a new function for       floppy drives, by reading the Disk Parameter data from Int 1E vector, after       the media is accessed. But it can't be accurate, since floppy disks may have       variable sector sizes if they're using custom format.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca