Ignore:
Timestamp:
Aug 21, 2011, 4:39:58 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Old Int 13h functions can now transfer 256 sectors per call.
  • eINT 13h functions can now transfer 65535 sectors per call.
File:
1 edited

Legend:

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

    r167 r169  
    5454    mov     es, [bp+IDEPACK.intpack+INTPACK.ds] ; ES:SI to point Disk Address Packet
    5555    cmp     BYTE [es:si+DAP.bSize], MINIMUM_DAP_SIZE
    56     jb      SHORT .DapContentsNotValid
     56    jb      SHORT AH42h_ReturnWithInvalidFunctionError
    5757    cmp     WORD [es:si+DAP.wSectorCount], BYTE 0
    58     jle     SHORT .DapContentsNotValid          ; Must be 1...127
     58    je      SHORT AH42h_ReturnWithInvalidFunctionError
    5959    ret
    60 .DapContentsNotValid:
    61     jmp     AH2h_ExitInt13hSinceSectorCountInIntpackIsZero
     60AH42h_ReturnWithInvalidFunctionError:
     61    mov     ah, RET_HD_INVALID
     62    jmp     Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH
Note: See TracChangeset for help on using the changeset viewer.