Ignore:
Timestamp:
Aug 10, 2021, 7:27:30 AM (3 years ago)
Author:
aitotat
Message:
  • Verify functions did not return correctly the number of succesfully verified sectors. That should be now fixed except for serial device. Serial device do not have error handling implemented yet.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm

    r612 r617  
    288288    OUTPUT_AL_TO_IDE_REGISTER   LBA_HIGH_REGISTER
    289289    ret
     290
     291
     292;--------------------------------------------------------------------
     293; IdeCommand_ReadLBAlowRegisterToAL
     294; Returns LBA low register / Sector number register contents.
     295; Note that this returns valid value only after transfer command (read/write/verify)
     296; has stopped to an error. Do not call this otherwise.
     297;   Parameters:
     298;       DS:DI:  Ptr to DPT (in RAMVARS segment)
     299;   Returns:
     300;       AL:     Byte read from the register
     301;   Corrupts registers:
     302;       BX, DX
     303;--------------------------------------------------------------------
     304ALIGN JUMP_ALIGN
     305IdeCommand_ReadLBAlowRegisterToAL:
     306    ; HOB bit (defined in 48-bit address feature set) should be zero by default
     307    ; so we get the correct value for CHS, LBA28 and LBA48 drives and commands
     308    INPUT_TO_AL_FROM_IDE_REGISTER   LBA_LOW_REGISTER
     309    ret
Note: See TracChangeset for help on using the changeset viewer.