Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>getdta() get disk transfer address</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
getdta()                 Get Disk Transfer Address

 #include   <dos.h>

 char       far *getdta(void);

    getdta() returns the current setting of the disk transfer address
    (DTA). In the small and medium memory models, it is assumed that the
    segment is the current data segment.   In the compact, large or huge
    memory models, the address returned by getdta() is the correct
    hardware address and may be located outside the program.

    Returns:    A pointer to the current disk transfer address.

      Notes:    Beware that in small and medium memory models, assembly
                routines may set the disk transfer address to any
                hardware address.

See Also: setdta()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson