home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / pcrte224.zip / SOURCE.ZIP / PCROUTE.ASM < prev    next >
Assembly Source File  |  1992-06-09  |  2KB  |  63 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  'Copywrite (c) 1989, Vance Morrison, Northwestern University',13,10,0
  35.     db  '    '
  36.     db  'VERSION 2.23 ', 0
  37.  
  38.     DLOG_DECLARE %dlog          ;; declared here since only needed during config
  39.  
  40. ;;************************************************************************
  41.     .code
  42.  
  43. pcroute:
  44.     mov AX, @DATA
  45.     mov DS, AX
  46.     cld                         ;; direction is always forward
  47.  
  48.     DB_DEFINE                   ;; define debugging routines
  49.  
  50.     DLOG_DEFINE %dlog
  51.  
  52.     DLOG_PRINT %dlog, <******* PCroute starting *******>
  53.     CONFIG terminate, %dlog
  54.     DLOG_PRINT %dlog, <******* PCroute closing log file *******>
  55.     DLOG_CLOSE %dlog
  56.  
  57.     SCHED_RUN                   ;; this never returns 
  58.  
  59.     terminate:
  60.         mov AH, 4CH             ;; terminate program
  61.         int 21H
  62. END pcroute
  63.