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édentes Ré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:38] – [and return with:] fraterback2root:ibm-pc-ms-dos:interrupts:int_13:start [2023/01/19 21:39] – [and return with:] frater
Ligne 34: Ligne 34:
   * 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 round box>+<WRAP center round box 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 box 75%>
 <m 15>PhysicalSector = 1 + (DosSector  MOD  SectorsPerTrack)</m> <m 15>PhysicalSector = 1 + (DosSector  MOD  SectorsPerTrack)</m>
 +</WRAP> 
 +<WRAP center round box 75%>
 <m 15>PhysicalHead = (DosSector / SectorsPerTrack)  MOD  NumHeads</m> <m 15>PhysicalHead = (DosSector / SectorsPerTrack)  MOD  NumHeads</m>
 +</WRAP> 
 +<WRAP center round box 75%>
 <m 15>PhysicalTrack = DosSector / (SectorsPerTrack * NumHeads)</m> <m 15>PhysicalTrack = DosSector / (SectorsPerTrack * NumHeads)</m>
 </WRAP> </WRAP>
  • back2root/ibm-pc-ms-dos/interrupts/int_13/start.txt
  • Dernière modification : 2023/01/19 21:49
  • de frater