Ignore:
Timestamp:
May 9, 2012, 7:12:53 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Addressing modes are now NORMAL, LARGE and LBA.
  • L-CHS parameters are now generated differently for drives with 8192 or less cylinders.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm

    r399 r421  
    202202    push    dx                      ; Magnitude character
    203203
    204     test    di, di
     204    test    di, di                  ; Zero if foreign drive
    205205    jz      SHORT BootMenuPrint_RefreshInformation.FormatRelay
    206206
     
    229229;       CX
    230230;--------------------------------------------------------------------
    231 GetTotalSectorCount:
    232     test    BYTE [di+DPT.bFlagsLow], FLG_DRVNHEAD_LBA
    233     jnz     SHORT .ReturnFullCapacity
    234     jmp     AH15h_GetSectorCountToBXDXAX
    235 .ReturnFullCapacity:
    236     jmp     AccessDPT_GetLbaSectorCountToBXDXAX
     231%ifdef MODULE_EBIOS
     232GetTotalSectorCount     EQU     AccessDPT_GetLbaSectorCountToBXDXAX
     233%else
     234GetTotalSectorCount     EQU     AH15h_GetSectorCountToBXDXAX
     235%endif
Note: See TracChangeset for help on using the changeset viewer.