home *** CD-ROM | disk | FTP | other *** search
/ PC Press: Internet / PC_PRESS.ISO / software / dos / misc / inar-100.exe / SRC / PCROUTE / PCROUTE.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-05-21  |  2.1 KB  |  64 lines

  1. ;;****************************************************************************
  2. ;;                     pcroute.asm         pcroute.asm
  3. ;;****************************************************************************
  4. ;;
  5. ;;  Copyright (C) 1989 Northwestern University, Vance Morrison
  6. ;;
  7. ;;
  8. ;; Permission to view, compile, and modify for LOCAL (intra-organization) 
  9. ;; USE ONLY is hereby granted, provided that this copyright and permission 
  10. ;; notice appear on all copies.  Any other use by permission only.
  11. ;;
  12. ;; Northwestern University makes no representations about the suitability 
  13. ;; of this software for any purpose.  It is provided "as is" without expressed 
  14. ;; or implied warranty.  See the copywrite notice file for complete details.
  15. ;;
  16. ;;*************************************************************************
  17. ;;
  18. ;; pcroute is the main module for the pcroute program.  This program makes a 
  19. ;; PC into an IP router.  Nothing real is done in this file
  20. ;;
  21. ;; AUTHOR: Vance Morrison
  22. ;; DATE:   5/24/89
  23. ;; ADDRESS: morrison@accuvax.nwu.edu
  24. ;;****************************************************************************
  25.  
  26.     DOSSEG
  27.     include declare.inc         ;; contains all macro definitions
  28.     include config.inc          ;; except these
  29.     include dlog.inc 
  30.  
  31.     .stack 200H
  32.  
  33.     .data
  34.     db  'Copyright (c) 1989, Vance Morrison, Northwestern University',13,10,0
  35.     db  'Copyright (c) 1995, Uwe Doering, Berlin, Germany',13,10,0
  36.     db  '    '
  37.     db  'VERSION 3.00 ', 0
  38.  
  39.     DLOG_DECLARE %dlog          ;; declared here since only needed during config
  40.  
  41. ;;************************************************************************
  42.     .code
  43.  
  44. pcroute:
  45.     mov AX, @DATA
  46.     mov DS, AX
  47.     cld                         ;; direction is always forward
  48.  
  49.     DB_DEFINE                   ;; define debugging routines
  50.  
  51.     DLOG_DEFINE %dlog
  52.  
  53.     DLOG_PRINT %dlog, <Starting configuration>
  54.     CONFIG terminate, %dlog
  55.     DLOG_PRINT %dlog, <Closing log file>
  56.     DLOG_CLOSE %dlog
  57.  
  58.     SCHED_RUN                   ;; this never returns 
  59.  
  60.     terminate:
  61.         mov AH, 4CH             ;; terminate program
  62.         int 21H
  63. END pcroute
  64.