Relock Real Mode Region [0.9]

Relocks a memory region that was previously declared as pageable with the Mark Real Mode Region as Pageable function (Int 31H Function 0602H).

Call With

AX = 0603H
BX:CX = starting linear address of memory to relock
SI:DI = size of region to relock (bytes)

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8002Hinvalid state (region not marked as pageable)
8013Hphysical memory unavailable
8025Hinvalid linear address (region is above 1 MB boundary)

Notes