Outils pour utilisateurs

Outils du site


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

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
back2root:ibm-pc-ms-dos:interrupts:int_13:int_13_08 [2023/01/19 21:48] – créée fraterback2root:ibm-pc-ms-dos:interrupts:int_13:int_13_08 [2024/03/03 22:11] (Version actuelle) frater
Ligne 1: Ligne 1:
 ====== INT 0x13 - 0x08 - Get Current Drive Parameters (XT & newer) ====== ====== INT 0x13 - 0x08 - Get Current Drive Parameters (XT & newer) ======
- 
-<WRAP round info > 
-Undocumented  
-</WRAP> 
  
 ===== Request/Call: ===== ===== Request/Call: =====
Ligne 16: Ligne 12:
  
 {{tablelayout?rowsHeaderSource=Auto&colwidth=""}} {{tablelayout?rowsHeaderSource=Auto&colwidth=""}}
-^  reg  ^   descr  +^  reg   ^  descr                                                                                                                                  
-|      +CF     | 0 if successful\\ 1 if error                                                                                                            
-|     +AH     | status  (see [[back2root:ibm-pc-ms-dos:interrupts:int_13:int_13_01|INT 13,01]])                                                         
-|     +BL     | CMOS drive type\\ 01 - 5<sup>1/4</sup>: 360K\\ 02 - 5<sup>1/4</sup>: 1.2Mb\\ 03 - 3<sup>1/2</sup>: 720K\\ 04 - 3<sup>1/2</sup>: 1.44Mb  | 
- +| CH     | cylinders (0-1023 dec. see below)                                                                                                       | 
-==== Values code: ==== +| CL     | sectors per track (see below)                                                                                                           | 
- 00h    +DH     number of sides (0 based)                                                                                                               
- 01h   +DL     number of drives attached                                                                                                               
- 02h   |+ES:DI  pointer to 11 byte [[back2root:ibm-pc-ms-dos:hardware:informations:disk_base_table|Disk Base Table]] (DBT)                              |
  
 ===== Notes & Comments ===== ===== Notes & Comments =====
  
 <WRAP round box> <WRAP round box>
 +  * the track/cylinder number is a 10 bit value taken from the 2 high order bits of CL and the 8 bits in CH (low order 8 bits of track)
 +  * many good programming references indicate this function is only available on the AT, PS/2 and later systems, but all hard disk systems since the XT have this function available
 +  * only the disk number is checked for validity
  
-Notes+{{tablelayout?rowsHeaderSource=Auto}} 
 +^  bit   ^ descr                                 ^ 
 +|  0-5   | sector number                         | 
 +|  6-7   | high order 2 bits of track/cylinder   | 
 +|  8-15  | low order 8 bits of track/cyl number  |
 </WRAP> </WRAP>
    
 [[start|Back]] [[start|Back]]
  
back2root/ibm-pc-ms-dos/interrupts/int_13/int_13_08.1674161323.txt.gz · Dernière modification : 2023/01/19 21:48 de frater