Changeset 416 in xtideuniversalbios for trunk


Ignore:
Timestamp:
May 4, 2012, 2:23:47 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to BIOS Drive Information Tool:

  • EBIOS cylinders and sectors are now printed in correct order.
File:
1 edited

Legend:

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

    r376 r416  
    236236    test    WORD [si+EDRIVE_INFO.wFlags], FLG_CHS_INFORMATION_IS_VALID
    237237    jz      SHORT .SkipEbiosCHS
    238     mov     ax, [si+EDRIVE_INFO.dwCylinders]
     238    mov     cx, [si+EDRIVE_INFO.dwCylinders]
    239239    mov     dx, [si+EDRIVE_INFO.dwHeads]
    240     mov     cx, [si+EDRIVE_INFO.dwSectorsPerTrack]
     240    mov     ax, [si+EDRIVE_INFO.dwSectorsPerTrack]
    241241    call    Print_CHSfromCXDXAX
    242242.SkipEbiosCHS:
Note: See TracChangeset for help on using the changeset viewer.