Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>relock real mode region</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        Relock Real Mode Region


                 This function  is used  to relock  memory regions  that
                 were marked as pageable by the previous function.

            To Call

                 AX = 0603h
                 BX:CX = Starting linear address of memory to relock
                 SI:DI = Size of region to page in bytes

            Returns

                 If function was successful:
                 Carry flag is clear.

                 If function was not successful:
                 Carry flag is set.

            Programmer's Notes

                 o    If this  function fails  then none  of the  memory
                      will be relocked.
                 o    If the specified region overlaps part of a page at
                      the beginning  or end  of the  region, the page(s)
                      will be not be relocked.

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