Changeset 322 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h


Ignore:
Timestamp:
Mar 11, 2012, 4:17:46 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Commented out the FS and GS segment registers from INTPACK since we never touch them anyway.
  • Minor changes to improve speed in the Int13h handler.
  • Changed Prepare_ByValidatingSectorsInALforOldInt13h so it really doesn't corrupt anything.
  • Changed the makefile so 'make strings' now works even if StringsCompressed.asm is missing or empty.
Location:
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h
Files:
2 edited

Legend:

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

    r305 r322  
    2222ALIGN JUMP_ALIGN
    2323AH25h_HandlerForGetDriveInformation:
    24     mov     al, 1           ; Read 1 sector
    25     call    Prepare_BufferToESSIforOldInt13hTransfer
    26     mov     ah, COMMAND_IDENTIFY_DEVICE
     24    mov     ax, (COMMAND_IDENTIFY_DEVICE << 8 | 1)      ; Read 1 sector
     25    call    Prepare_BufferToESSIforOldInt13hTransfer    ; Preserves AX
    2726    mov     bx, TIMEOUT_AND_STATUS_TO_WAIT(TIMEOUT_DRQ, FLG_STATUS_DRQ)
    2827%ifdef USE_186
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Prepare.asm

    r294 r322  
    111111    cmp     al, 128
    112112    ja      SHORT InvalidNumberOfSectorsRequested
    113     mov     ah, RET_HD_BOUNDARY
    114113    test    si, si                              ; Offset must be zero to xfer 128 sectors
    115114    jnz     SHORT CannotAlignPointerProperly
     
    120119Prepare_ReturnFromInt13hWithInvalidFunctionError:
    121120    mov     ah, RET_HD_INVALID
     121    SKIP2B  f
     122CannotAlignPointerProperly:
     123    mov     ah, RET_HD_BOUNDARY
    122124ZeroSectorsRequestedSoNoErrors:
    123 CannotAlignPointerProperly:
    124125    jmp     Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
    125126
Note: See TracChangeset for help on using the changeset viewer.