Ignore:
Timestamp:
Apr 21, 2013, 3:47:11 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Hotkeys were incorrectly initialized to use 'C' as first hard drive letter.
  • All CHS translate modes should again work (incorrectly decremented DX instead of DL, it might or might not have caused problems).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm

    r526 r547  
    4545
    4646    ; Make sure that sector count is valid
     47    mov     al, [es:si+DAP.wSectorCount]
     48    test    al, al
     49    jz      SHORT ZeroSectorsRequestedSoNoErrors
     50    js      SHORT InvalidNumberOfSectorsRequested
     51
     52%if 0   ; Slow version in the unlikely case that high byte needs to be checked.
    4753    mov     ax, [es:si+DAP.wSectorCount]
    4854    test    ax, ax
     
    5056    cmp     ax, BYTE 127
    5157    ja      SHORT InvalidNumberOfSectorsRequested
     58%endif
    5259
    5360    ; Get EBIOS command index to BX
     
    5562    call    Prepare_GetOldInt13hCommandIndexToBX
    5663    mov     al, [di+DPT.bFlagsLow]
    57     eSHL_IM al, 1                   ; Set CF if LBA48 supported
     64    shl     al, 1                   ; Set CF if LBA48 supported
    5865    adc     bl, bh                  ; LBA48 EXT commands
    5966    ret
Note: See TracChangeset for help on using the changeset viewer.