bios int 13h, need more explanation

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DeaDDooMER
Posts: 1
Joined: Thu Dec 15, 2022 8:31 am

bios int 13h, need more explanation

Post by DeaDDooMER »

function ah=02h READ SECTOR(S) INTO MEMORY
i doubt how to handle error 11h (corrected ECC error).
it means a really error or just notify that it recovered automatically?
can i continue reading assume that sectors correctly readed? or i must retry to read sectors again?
what means value "burst length"?
CF flag are setted when this error appear?

function ah=08h GET DRIVE PARAMETERS
if es:di are non-zero, to which structure it points?
Octocontrabass
Member
Member
Posts: 5562
Joined: Mon Mar 25, 2013 7:01 pm

Re: bios int 13h, need more explanation

Post by Octocontrabass »

DeaDDooMER wrote:it means a really error or just notify that it recovered automatically?
It's notifying you that the read error was automatically corrected.
DeaDDooMER wrote:can i continue reading assume that sectors correctly readed? or i must retry to read sectors again?
That's up to you. Most people only use INT 0x13 in bootloaders, where there isn't room to have separate code to handle each type of error.
DeaDDooMER wrote:what means value "burst length"?
That's referring to the physical length of the error in bits. The IBM BIOS doesn't report the burst length, so this may be a nonstandard extension. (RBIL doesn't always specify when something is nonstandard.)
DeaDDooMER wrote:CF flag are setted when this error appear?
Yes.
DeaDDooMER wrote:if es:di are non-zero, to which structure it points?
It points to a diskette parameter table.
Post Reply