home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / network / netio.doc < prev    next >
Text File  |  1994-03-07  |  2KB  |  64 lines

  1.     Documentation for NETIO.ASM, MONITOR.ASM
  2.  
  3. MONITOR.ASM, used in conjunction with the device driver NETIO.ASM
  4. will allow DOS console I/O calls to be transmitted across an IBM
  5. PCNet local area network.  NETIO.ASM should be assembled with the
  6. macro assembler and linked to create NETIO.SYS, and the line:
  7.  
  8.         DEVICE=NETIO.SYS
  9.  
  10. should be added to the AUTOEXEC.BAT file of the server.  After
  11. booting the server, do a CTTY NETIO to pass console control to the
  12. NETIO driver.  At this point, MONITOR.EXE can be run on another
  13. machine on the network and a session established.
  14.  
  15.         To terminate the session, type a CTRL-A.  MONITOR will
  16. respond with a NET> prompt.  If another CTRL-A is typed, a single
  17. CTRL-A will be send to the server--receipt of any other character
  18. will terminate the program, and NETIO will wait for another network
  19. CALL.
  20.  
  21.         It is important to realize that this program will only work
  22. if the application running on the server uses the standard DOS
  23. console I/O calls.  Most applications programs available today,
  24. however, prefer to use direct BIOS ROM calls or non-console function
  25. calls (don't ask me why, the speed difference shouldn't be all that
  26. noticeable).
  27.  
  28.         Here's what I mean--the following are patches to MS-KERMIT so
  29. that it can be run on the server:
  30.  
  31.         To MSKERMIT.INI>> set heath19 off
  32.         To MSYIBM.ASM
  33. >>
  34. chkinp: mov     dl,0ffh
  35.         mov     ah,06h
  36.         int     dos
  37.         jz      lp
  38.         cmp     al,chesc
  39.         je      quit
  40.         call    outprt
  41.         jmp     chkinp
  42. >>
  43. <<
  44. chkinp: mov     ah,1
  45.         int     kb
  46.         jz      lp                      ; nothing available...
  47.         xor     ah,ah
  48.         int     kb                      ; get the char from the buffer
  49.         push    ax                      ; save character temporarily
  50.         call    gss                     ; get shift state into al
  51.         mov     bl,al                   ; save shift state
  52.         pop     ax
  53.  
  54.         cmp     al,esc_ch               ; escape character?
  55.         je      quit                    ; yes, stop here
  56.  
  57.         call    trnout                  ; translate if nec., output to prt
  58.         jmp     chkinp                  ; and keep going
  59. <<
  60.         If you have any problems, questions, or comments, send mail to
  61. DESILVA @ NBS-VMS.ARPA.  None of this stuff has been extensively tested,
  62. so use it at your own risk.
  63.  
  64.