Changeset 442 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


Ignore:
Timestamp:
Aug 21, 2012, 5:17:11 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • ATA ID validation now compares heads to correct maximum number of heads.
  • Added XTCF 8-bit mode transfer functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm

    r441 r442  
    4545
    4646    add     bx, BYTE ATA1.wHeadCnt - ATA1.wCylCnt
    47     mov     cl, MAX_VALID_PCHS_HEADS
     47    mov     cx, MAX_VALID_PCHS_HEADS
    4848    call    .CompareCHorSfromOffsetBXtoMaxValueInCX
    4949
     
    9696    jbe     SHORT .ValidPCHorSinOffsetBX
    9797.InvalidPCHorSinOffsetBX:
    98     add     sp, 2           ; Clear return address for this function
     98    add     sp, BYTE 2      ; Clear return address for this function
    9999.FailedToVerifyAtaID:
    100100    stc                     ; Set carry to indicate invalid ATA-ID
Note: See TracChangeset for help on using the changeset viewer.