Changeset 616 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Aug 8, 2021, 7:03:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r615 r616 197 197 ;;; InitStandbyTimer 198 198 ; Initialize the standby timer (if supported) 199 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_POWER_MANAGEMENT_SUPPORTED 199 mov dh, [di+DPT.bFlagsHigh] 200 test dh, FLGH_DPT_POWER_MANAGEMENT_SUPPORTED 200 201 jz SHORT .NoPowerManagementSupport 201 202 202 203 ; Do we need to disable APM? 203 ;TODO: We should check APM feature set flag from ATA ID word 83. The above204 ;FLGH_DPT_POWER_MANAGEMENT_SUPPORTED is from ATA ID word 82205 204 mov dl, [cs:ROMVARS.bIdleTimeout] 206 205 push dx 207 206 push dx 207 test dh, FLGH_DPT_APM_SUPPORTED 208 jz SHORT .NoAdvancedPowerManagementSupport 208 209 call AH23h_EnableOrDisableAdvancedPowerManagement 210 .NoAdvancedPowerManagementSupport: 209 211 210 212 ; COMMAND_IDLE is not enough for Toshiba 1,8" HDD since idle mode is the default mode
Note:
See TracChangeset
for help on using the changeset viewer.