A20 Line: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m Cross-linking |
Added "recommended method" |
||
Line 198: | Line 198: | ||
</source> |
</source> |
||
If there is an error, the CF will be set, and the error code will be in AH. On success, the CF is clear, and AH==0. Specifically, AH==0x86 means the function is not supported, and you will have to use another method. |
If there is an error, the CF will be set, and the error code will be in AH. On success, the CF is clear, and AH==0. Specifically, AH==0x86 means the function is not supported, and you will have to use another method. |
||
===Recommended Method=== |
|||
Because there are several different methods that may or may not be supported, and because some of them cause problems on some computers; the recommended method is to try all of them until one works in the "order of least risk". Essentially: |
|||
* Test if A20 is already enabled - if it is you don't need to do anything at all |
|||
* Try the BIOS function. Ignore the returned status. |
|||
* Test if A20 is enabled (to see if the BIOS function actually worked or not) |
|||
* Try the keyboard controller method. |
|||
* Test if A20 is enabled in a loop with a time-out (as the keyboard controller method may work slowly) |
|||
* Try the Fast A20 method last |
|||
* Test if A20 is enabled in a loop with a time-out (as the fast A20 method may work slowly) |
|||
* If none of the above worked, give up |
|||
==See Also== |
==See Also== |