Changeset 539 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src


Ignore:
Timestamp:
Apr 12, 2013, 8:45:29 AM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Carry flag is no longer cleared when segment overflow during pointer normalization.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm

    r538 r539  
    329329    NORMALIZE_FAR_POINTER   es, si, ax, dx
    330330%ifdef USE_AT       ; CF is always clear for XT builds
    331     mov     ah, 0   ; Clear AH and preserve CF
    332     rcl     ah, 1   ; RET_HD_INVALID
     331    jc      SHORT .SegmentOverflow
     332    ret
     333.SegmentOverflow:
     334    mov     ah, RET_HD_INVALID
    333335%endif
    334336    ret
Note: See TracChangeset for help on using the changeset viewer.