Changeset 616 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device


Ignore:
Timestamp:
Aug 8, 2021, 7:03:21 PM (3 years ago)
Author:
Tomi Tilli
Message:
  • Added check for APM
File:
1 edited

Legend:

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

    r608 r616  
    4747.DetectPowerManagementSupport:
    4848    mov     al, [es:si+ATA6.wSetSup82]
     49    mov     ah, [es:si+ATA6.wSetSup83]
     50    and     ah, A6_wSetSup83_APM
     51    shl     ah, 1                       ; APM bit 3 to bit 4
    4952    and     al, A6_wSetSup82_POWERMAN   ; A6_wSetSup82_POWERMAN (bit 3) is the same
    50     or      [di+DPT.bFlagsHigh], al     ; bit as FLGH_DPT_POWER_MANAGEMENT_SUPPORTED
     53    or      al, ah
     54    or      [di+DPT.bFlagsHigh], al     ; bit as FLGH_DPT_POWER_MANAGEMENT_SUPPORTED and FLGH_DPT_APM_SUPPORTED
    5155%endif ; MODULE_POWER_MANAGEMENT
    5256
Note: See TracChangeset for help on using the changeset viewer.