Changeset 170 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS


Ignore:
Timestamp:
Aug 22, 2011, 2:25:51 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to all parts of the project:

  • Minor size optimizations
  • Commented away some ALIGN JUMP_ALIGN directives in the Int13h handler (they are either in init procedures, procedures that are rarely called or are unnecessary due to conditional assembly)
  • Fixed what appears to be a typo in EBIOS.inc
File:
1 edited

Legend:

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

    r169 r170  
    3939    mov     ds, [bp+IDEPACK.intpack+INTPACK.ds]
    4040    mov     ax, MINIMUM_EDRIVEINFO_SIZE
    41     cmp     WORD [di+EDRIVE_INFO.wSize], ax
     41    cmp     [di+EDRIVE_INFO.wSize], ax
    4242    jb      SHORT AH42h_ReturnWithInvalidFunctionError
    4343    je      SHORT .SkipEddConfigurationParameters
    4444
    4545    ; We do not support EDD Configuration Parameters so set to FFFF:FFFFh
    46     xor     ax, ax
    47     dec     ax          ; AX = FFFFh
     46    mov     ax, -1      ; AX = FFFFh
    4847    mov     [di+EDRIVE_INFO.fpEDDparams], ax
    4948    mov     [di+EDRIVE_INFO.fpEDDparams+2], ax
Note: See TracChangeset for help on using the changeset viewer.