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
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:49] (Version actuelle) – [Interruption 13h - Disks - WIP] frater
Ligne 2: Ligne 2:
  
 <nspages -h1 -simpleList -exclude:start -TextPages=""> <nspages -h1 -simpleList -exclude:start -TextPages="">
 +
 +
 +----
 +
  
 {{anchor:note1}} {{anchor:note1}}
-The 1983 version of the "IBM XT BIOS Technical Reference" shows these functions are available for the XT but many other programming references say they aren't available until the AT. +[1] : The 1983 version of the "IBM XT BIOS Technical Reference" shows these functions are available for the XT but many other programming references say they aren't available until the AT. 
 This is probably due to misunderstanding the design of the disk BIOS. Upon bootup the hard disk BIOS replaces the default INT 13h diskette handler with the hard disk INT 13h handler. This is probably due to misunderstanding the design of the disk BIOS. Upon bootup the hard disk BIOS replaces the default INT 13h diskette handler with the hard disk INT 13h handler.
  
Ligne 26: Ligne 30:
 | AH | status of operation  (see [[back2root:ibm-pc-ms-dos:interrupts:int_13:int_13_01|INT 13,01]])| | 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.1674160679.txt.gz · Dernière modification : 2023/01/19 21:37 de frater