Question about int 13h
- matias_beretta
- Member
- Posts: 101
- Joined: Mon Feb 26, 2007 3:39 pm
Question about int 13h
Hello, thanks for reading my topic. Should I reset the disk before reading sectors?
MatÃas Beretta
A general pseudo code for a read function will look like
Try to look at code samples for a read function using INT 13 to get a better grip of the idea.
Code: Select all
nRetries = 5
tryRead:
try to read sectors
if OK then JMP :end
reset disk
nRetries -= 1
if nRetries > 0 then JMP :tryRead
end:
RET
- jerryleecooper
- Member
- Posts: 233
- Joined: Mon Aug 06, 2007 6:32 pm
- Location: Canada