CALLHMA - 5


_XMM_Version endp

;**

;.Name _XMM_RequestHMA

;.Title HMA

;

;.Descr

; HMA

;

;.Proto long XMM_RequestHMA(unsigned space);

;

;.Params space -

; TSR- ,

; 0xffff ;

;

;.Return < 0 - HMA ,

; .

; 0L - HMA .

;

;**

_XMM_RequestHMA proc near

c_begin

mov ah, 1

mov dx, [bp+4]

call [XMM_Control]

xor dx, dx

dec ax

jz @success

mov dh, bl

@success:

c_end

_XMM_RequestHMA endp

;**

;.Name _XMM_ReleaseHMA

;.Title HMA

;

;.Descr

; HMA

;

;.Proto long XMM_ReleaseHMA(void);

;

;.Params

;

;.Return < 0 - HMA ,

; .

; 0L - HMA .

;

;**

_XMM_ReleaseHMA proc near

c_begin

mov ah, 2

call [XMM_Control]

xor dx, dx

dec ax

jz @success1

mov dh, bl

@success1:

c_end

_XMM_ReleaseHMA endp

;**

;.Name _XMM_GlobalEnableA20

;.Title A20

;

;.Descr ,

; HMA A20

;

;.Proto long XMM_GlobalEnableA20(void);

;

;.Params

;

;.Return < 0 - A20 ,

; .

; 0L - A20 .