Changeset 547 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


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).
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers
Files:
3 edited

Legend:

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

    r526 r547  
    2323;--------------------------------------------------------------------
    2424; Int 13h function AH=15h, Read Disk Drive Size.
     25;
     26; It is unclear what is the total number of sectors to return.
     27; Award BIOS from 1997 returns full capacity instead of L-CHS limit
     28; like we do. I think it makes more sense if this function returns
     29; L-CHS limit.
    2530;
    2631; AH15h_HandlerForReadDiskDriveSize
  • 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
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm

    r529 r547  
    8686
    8787%ifdef MODULE_HOTKEYS
     88    ; Last hard drive might have scrolled Hotkey Bar out of screen.
     89    ; We want to display it during wait.
     90    call    HotkeyBar_UpdateDuringDriveDetection
     91
    8892.WaitUntilTimeToCloseHotkeyBar:
    8993    call    TimerTicks_ReadFromBdaToAX
Note: See TracChangeset for help on using the changeset viewer.