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.
@GetDTA and @SetDTA Macros
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @GetDTA
 
             @SetDTA buffer [,segment]
 
  Summary:   Gets or sets the Disk Transfer Address (DTA). These
             macros are usually used to set the address for file
             information data used by @GetFirst and @GetNext.
 
  Arguments: <buffer>      Offset of new DTA buffer. Must be an offset
                           address.
 
             <segment>     Segment of new DTA buffer; DS if none given.
 
  Returns:
   @GetDTA: ES:BX points to DTA
             @SetDTA: No return value
 
  Modifies:  AX for both; ES, BX for @GetDTA; DS, DX for @SetDTA
 
  See also:  Int 21h Functions 2Fh and 1Ah, @SetNext, @GetNext, SHOW.ASM
                                    -♦-