Changeset 441 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/ATA_ID.inc


Ignore:
Timestamp:
Aug 19, 2012, 10:58:42 AM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • ATA-ID sector is now verified (P-CHS verification for ATA-4 and older + checksum for ATA-5 and later)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/ATA_ID.inc

    r376 r441  
    2020%ifndef ATA_ID_INC
    2121%define ATA_ID_INC
     22
     23; Maximum valid P-CHS parameters
     24MAX_VALID_PCHS_CYLINDERS            EQU     16383
     25MAX_VALID_PCHS_HEADS                EQU     16
     26MAX_VALID_PCHS_SECTORS_PER_TRACK    EQU     63
     27
    2228
    2329; PIO Minimum Cycle Times (t0)
     
    316322    .strMediaSr resw 206-176    ; 176...205V, Current media serial number
    317323                resw 255-206    ; 206...254R
     324    .wIntegrityWord:
    318325    .bSignature resb 1  ; 255[0-7]X, Signature
    319326    .bChecksum  resb 1  ; 255[8-15]X, Checksum
     
    472479A6_wCFAPower_MASK_mA    EQU 0FFFh   ; Maximum current in mA
    473480
     481; ATA-6 WORD 255, Integrity Word (Signature and Checksum)
     482A6_wIntegrity_SIGNATURE EQU 0A5h
     483
    474484
    475485%endif ; ATA_ID_INC
Note: See TracChangeset for help on using the changeset viewer.