Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
@SetDTA
 Map                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
;* SetDTA - Sets address for new Disk Transfer Area.
;*
;* Shows:   DOS Function - 1Ah (Set DTA Address)
;*
;* Params:  Dta - Far pointer to new transfer address
;*
;* Return:  None
 
SetDTA  PROC USES ds,
        Dta:FPBYTE
 
        lds     dx, [Dta]               ; Point DS:DX to DTA
        mov     ah, 1Ah                 ; DOS Function 1Ah
        int     21h                     ; Set DTA Address
        ret
 
SetDTA  ENDP
                                    -♦-