CALLHMA - 12


;**

;.Name _XMM_RequestUMB

;.Title UMB

;

;.Descr

; UMB

;

;.Proto long XMM_RequestUMB(unsigned space);

;

;.Params space -

; ;

;

;.Return < 0 - UMB ,

; ;

;

; (16 );

; > 0L - UMB ,

;

; UMB, -

; UMB.

;

;**

_XMM_RequestUMB proc near

c_begin

mov ah, 10h

mov dx, [bp+4]

call [XMM_Control]

xchg bx, ax

dec bx

jz RUMB_Success

xchg ax, dx

mov dh, dl

RUMB_Success:

c_end

_XMM_RequestUMB endp

;**

;.Name _XMM_ReleaseUMB

;.Title UMB

;

;.Descr

; UMB

;

;.Proto long XMM_ReleaseUMB(unsigned segment);

;

;.Params segment - UMB*

;

;.Return < 0 - UMB ,

; .

; 0L - UMB .

;

;**

_XMM_ReleaseUMB proc near

c_begin

mov ah, 11h

mov dx, [bp+4]

call [XMM_Control]

xor dx, dx

dec ax

jz @success10

mov dh, bl

@success10:

c_end

_XMM_ReleaseUMB endp

END