home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / hamradio / wattcp.zip / DOSLIST.ASM < prev    next >
Assembly Source File  |  1990-11-08  |  586b  |  33 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.         mov     AH, 52h         ; get dos list
  25.         int     21h
  26.         mov     AX, BX
  27.         mov     DX, ES
  28.         pop     ES
  29. creturn doslist
  30. cend    DOSLIST
  31.         end
  32.  
  33.