Changeset 170 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS


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
Location:
trunk/XTIDE_Universal_BIOS
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/EBIOS.inc

    r169 r170  
    1010ENHANCED_DRIVE_ACCESS_SUPPORT       EQU (1<<0)  ; 41h, 42h, 43h 44h, 47h and 48h are available
    1111DRIVE_LOCKING_AND_EJECTING_SUPPORT  EQU (1<<1)  ; 41h, 45h, 46h, 48h, 49h are available and INT 15h, AH=52h
    12 ENHANDED_DISK_DRIVE_SUPPORT         EQU (1<<2)  ; 41h, 48h, 4Eh are available (EDD)
     12ENHANCED_DISK_DRIVE_SUPPORT         EQU (1<<2)  ; 41h, 48h, 4Eh are available (EDD)
    1313
    1414
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm

    r169 r170  
    3535
    3636    ; Are we reading or writing?
    37     test    al, 16  ; Bit 4 is cleared on all the read commands but set on 3 of the 4 write commands
    38     jnz     SHORT .PrepareToWriteDataFromESSI
    39     cmp     al, COMMAND_WRITE_MULTIPLE
    40     je      SHORT .PrepareToWriteDataFromESSI
     37    test    al, 11001b
     38    jpo     SHORT .PrepareToWriteDataFromESSI
    4139
    4240    ; Prepare to read data to ESSI
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH23h_HFeatures.asm

    r162 r170  
    5555;       AL, BX, CX, DX
    5656;--------------------------------------------------------------------
    57 ALIGN JUMP_ALIGN
     57;ALIGN JUMP_ALIGN
    5858AH23h_SetControllerFeatures:
    5959    mov     al, COMMAND_SET_FEATURES
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH24h_HSetBlocks.asm

    r162 r170  
    5151;       AL, BX, CX, DX
    5252;--------------------------------------------------------------------
    53 ALIGN JUMP_ALIGN
     53;ALIGN JUMP_ALIGN
    5454AH24h_SetBlockSize:
    5555    MIN_U   al, MAX_SUPPORTED_BLOCK_SIZE_IN_SECTORS
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH25h_HDrvID.asm

    r167 r170  
    4343;       AL, BX, CX, DX
    4444;--------------------------------------------------------------------
    45 ALIGN JUMP_ALIGN
     45;ALIGN JUMP_ALIGN
    4646AH25h_GetDriveInformationToBufferInESSI:
    4747    push    es
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm

    r162 r170  
    4141;       AL, BX, DX
    4242;--------------------------------------------------------------------
    43 ALIGN JUMP_ALIGN
     43;ALIGN JUMP_ALIGN
    4444AH9h_InitializeDriveForUse:
    4545    push    cx
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AHDh_HReset.asm

    r162 r170  
    4242;       AL, CX, SI, DI
    4343;--------------------------------------------------------------------
    44 ALIGN JUMP_ALIGN
     44;ALIGN JUMP_ALIGN
    4545AHDh_ResetDrive:
    4646    push    dx
  • 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.