Changeset 566 in xtideuniversalbios for trunk/BIOS_Drive_Information_Tool/Src/Bios.asm


Ignore:
Timestamp:
Aug 29, 2013, 12:49:15 AM (11 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Fixed a very old bug (from r150) in IdeError.asm where GetBiosErrorCodeToAHfromStatusAndErrorRegistersInAX would return RET_HD_SEEK_FAIL instead of RET_HD_STATUSERR.
  • Optimizations and other fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BIOS_Drive_Information_Tool/Src/Bios.asm

    r526 r566  
    2626;       Nothing
    2727;   Returns: (if no errors)
    28 ;       DX:     Number of hard drives in system
     28;       DX:     Number of hard drives in system
    2929;       CF:     Set if no hard drives found
    3030;   Corrupts registers:
     
    4444;       DL:     BIOS drive number
    4545;   Returns: (if no errors)
    46 ;       BL:     Drive Type (for floppies only)
     46;       BL:     Drive Type (for floppies only)
    4747;       AX:     Sectors per track (1...63)
    4848;       DX:     Number of heads (1...255)
     
    6767;       DH:     Maximum head number (0...254)
    6868;   Returns:
    69 ;       BL:     Drive Type (for floppies only)
     69;       BL:     Drive Type (for floppies only)
    7070;       AX:     Sectors per track (1...63)
    7171;       DX:     Number of heads (1...255)
     
    9393;       DL:     BIOS drive number
    9494;   Returns: (if no errors)
    95 ;       CX:DX:  Total number of sectors
    96 ;       AH:     BIOS Error code
     95;       CX:DX:  Total number of sectors
     96;       AH:     BIOS Error code
    9797;       CF:     Cleared = no errors
    9898;               Set = BIOS error code stored in AH
     
    113113;       DL:     BIOS drive number
    114114;   Returns: (if no errors)
    115 ;      DS:BX:  Ptr to ATA information
    116 ;       AH:     BIOS Error code
     115;       DS:BX:  Ptr to ATA information
     116;       AH:     BIOS Error code
    117117;       CF:     Cleared = no errors
    118118;               Set = BIOS error code stored in AH
     
    135135;   Returns:
    136136;       AH:     BIOS error code
    137 ;       BX:     Version of extensions
     137;       BX:     Version of extensions
    138138;       CX:     Interface support bit map
    139139;       CF:     Cleared = no errors
     
    163163;       DL:     BIOS drive number
    164164;   Returns: (if no errors)
    165 ;      DS:SI:  Ptr to EDRIVE_INFO
    166 ;       AH:     BIOS Error code
     165;       DS:SI:  Ptr to EDRIVE_INFO
     166;       AH:     BIOS Error code
    167167;       CF:     Cleared = no errors
    168168;               Set = BIOS error code stored in AH
     
    184184;       Nothing
    185185;   Returns: (if no errors)
    186 ;       AH:     BIOS Error code
     186;       AH:     BIOS Error code
    187187;       CF:     Set
    188188;   Corrupts registers:
Note: See TracChangeset for help on using the changeset viewer.