Changeset 618 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH23h_HFeatures.asm
- Timestamp:
- Aug 31, 2021, 2:17:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH23h_HFeatures.asm
r615 r618 106 106 ; Enable/disable advanced power management command can be used to scale 107 107 ; power consumption and performance. Drive supporting Enable APM might not 108 ; support Disable A MPso we set the drive to max performance if stand by108 ; support Disable APM so we set the drive to max performance if stand by 109 109 ; timer value is 0 (idle/standby disabled) 110 110 ; … … 126 126 test dl, dl 127 127 jnz SHORT .EnablePowerSave 128 dec dx 129 dec dx ; DL = FEh = Maximum performance 130 jmp AH23h_SetControllerFeatures 131 128 mov dl, 0FEh ; Maximum performance 129 SKIP2B f 130 132 131 ; TODO: We should add power management level to IDEVARS to be adjustable with xtidecfg 133 132 .EnablePowerSave: 134 133 mov dl, 0BFh ; For Toshiba 1.8" HDD: 80h...BFh = Mode 1 135 jmp AH23h_SetControllerFeatures136 %endif ; %ifdefMODULE_POWER_MANAGEMENT134 jmp SHORT AH23h_SetControllerFeatures 135 %endif ; MODULE_POWER_MANAGEMENT
Note:
See TracChangeset
for help on using the changeset viewer.