Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- XMS Specification (version 3.0) - <b>local enable a20 (function 05h)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Local Enable A20 (Function 05h)

        ARGS:   AH = 05h

        RETS:   AX = 0001h if the A20 line is enabled, 0000h otherwise

        ERRS:   BL = 80h if the function is not implemented
                BL = 81h if a VDISK device is detected
                BL = 82h if an A20 error occurs

This function attempts to enable the A20 line.  It should only be used
by programs which need direct access to extended memory. Programs which
use this function should call Function 06h (Local Disable A20) before
releasing control of the system.

NOTE: On many machines, toggling the A20 line is a relatively slow
operation.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson