home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / drivers / scsi / futrdomn / manual / bioscmd.txt < prev    next >
Encoding:
Text File  |  1990-08-17  |  1.8 KB  |  55 lines

  1.         Code    Function               
  2.         
  3.         00      Initialize the System  
  4.         01      Request Sense          
  5.         02      Disk Read              
  6.         03      Disk Write             
  7.         04      Disk Verify            
  8.         05      Mode Select            
  9.         06      Format Unit with List  
  10.         07      Format Unit, no list   
  11.         08      Return Parameters      
  12.         09      Not Used
  13.         0A      Not Used
  14.         0B      Not Used
  15.         0C      Disk Seek              
  16.         0D      Not Used
  17.         0E      Read Local Buffer      
  18.         0F      Write Local Buffer     
  19.         10      Test Unit Ready        
  20.         11      Recalibrate            
  21.         12      Drive stop             
  22.         13      Request Sense          
  23.         14      Adapter Diagnostic     
  24.         15      Return DASD           
  25.         16      Not Used
  26.         17      Special Functions
  27.                              Subfunction 0: Inquiry 
  28.         18      Identify ROM           
  29.         19      Ready Drive Capacity   
  30.         1A      Read Cylinder Capacity  
  31.         1B      Locate Table           
  32.         1C      Locate Driver Letter Table   
  33.  
  34.         
  35. o- Register Usage - Input to INT 13 Call
  36.  
  37. The following are the general register assignments. Some assignments apply to 
  38. all calls, and other assignments are dependent on the specific function.
  39.  
  40. All calls have the following assigned:
  41.  
  42.     AH       -Function Number (i.e. 2=Disk Read)
  43.     DL       -Drive number (i.e. 80h for first drive)
  44.  
  45. The general assignment for other registers is as follows:
  46.  
  47.     ES:BX    -Pointer to caller buffer
  48.     AL       -Number of sectors
  49.     CH       -Cylinder number, lower 8 bits
  50.     CL       -Bits 7,6  -high 2 bits of cylinder number
  51.              -Bits 0-5  -Sector number
  52.     DH       -Head number
  53.  
  54.  
  55.