home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / mscwattc / elib / doslist.asm < prev    next >
Encoding:
Assembly Source File  |  1992-01-14  |  630 b   |  37 lines

  1. ;
  2. ;
  3. ;  Usage :
  4. ;           void far *doslist()
  5. ;
  6. ;  (c) 1990 University of Waterloo,
  7. ;           Faculty of Engineering,
  8. ;           Engineering Microcomputer Network Development Office
  9. ;
  10. ;  version
  11. ;
  12. ;    0.1    7-Nov -1990   E. P. Engelke
  13. ;
  14. ;
  15.         include masmdefs.hsm
  16.         include model.hsm
  17.  
  18. codedef DOSLIST
  19. datadef
  20.  
  21. cstart  DOSLIST
  22. cpublic doslist
  23.         push    ES
  24.         push    di
  25.         push    si
  26.         mov     AH, 52h         ; get dos list
  27.         int     21h
  28.         mov     AX, BX
  29.         mov     DX, ES
  30.         pop        si
  31.         pop        di
  32.         pop     ES
  33. creturn doslist
  34. cend    DOSLIST
  35.         end
  36.  
  37.