Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_13:start

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
back2root:ibm-pc-ms-dos:interrupts:int_13:start [2023/01/19 21:37] fraterback2root:ibm-pc-ms-dos:interrupts:int_13:start [2023/01/19 21:40] – [and return with:] frater
Ligne 2: Ligne 2:
  
 <nspages -h1 -simpleList -exclude:start -TextPages=""> <nspages -h1 -simpleList -exclude:start -TextPages="">
 +
 +
 +----
 +
  
 {{anchor:note1}} {{anchor:note1}}
Ligne 24: Ligne 28:
  
 | CF | 0 if successful \\ 1 if error | | CF | 0 if successful \\ 1 if error |
-| AH | status of operation  (see INT 13,STATUS)| +| AH | status of operation  (see [[back2root:ibm-pc-ms-dos:interrupts:int_13:int_13_01|INT 13,01]])|
  
 +<WRAP round box>
   * INT 13 diskette read functions should be retried at least 3 times to assure the disk motor has time to spin up to speed   * INT 13 diskette read functions should be retried at least 3 times to assure the disk motor has time to spin up to speed
   * physical sector numbers can be converted to and from DOS sector numbers with the following formulas:   * physical sector numbers can be converted to and from DOS sector numbers with the following formulas:
  
 +<WRAP center round tip 75%>
 <m 15>DosSector = (sector - 1) + (head * SectorsPerTrack) + (track * SectorsPerTrack * NumHeads)</m> <m 15>DosSector = (sector - 1) + (head * SectorsPerTrack) + (track * SectorsPerTrack * NumHeads)</m>
 +</WRAP> 
 +<WRAP center round tip 75%>
 <m 15>PhysicalSector = 1 + (DosSector  MOD  SectorsPerTrack)</m> <m 15>PhysicalSector = 1 + (DosSector  MOD  SectorsPerTrack)</m>
 +</WRAP> 
 +<WRAP center round tip 75%>
 <m 15>PhysicalHead = (DosSector / SectorsPerTrack)  MOD  NumHeads</m> <m 15>PhysicalHead = (DosSector / SectorsPerTrack)  MOD  NumHeads</m>
 +</WRAP> 
 +<WRAP center round tip 75%>
 <m 15>PhysicalTrack = DosSector / (SectorsPerTrack * NumHeads)</m> <m 15>PhysicalTrack = DosSector / (SectorsPerTrack * NumHeads)</m>
 +</WRAP>
  
 [[back2root:ibm-pc-ms-dos:interrupts:|Back]] [[back2root:ibm-pc-ms-dos:interrupts:|Back]]
  
back2root/ibm-pc-ms-dos/interrupts/int_13/start.txt · Dernière modification : 2023/01/19 21:49 de frater