OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Mar 19, 2024 4:22 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: bios int 13h, need more explanation
PostPosted: Thu Dec 15, 2022 9:17 am 
Offline

Joined: Thu Dec 15, 2022 8:31 am
Posts: 1
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?


Top
 Profile  
 
 Post subject: Re: bios int 13h, need more explanation
PostPosted: Sun Jan 22, 2023 5:14 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: DotBot [Bot], SemrushBot [Bot] and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group