home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l440 / 2.ddi / CHAP8 / NETBIOS.SCR < prev    next >
Encoding:
Text File  |  1990-09-27  |  754 b   |  27 lines

  1. ; NETBIOS.SCR
  2.  
  3. structure ncb fields
  4.     cmd             (byte)
  5.     rc              (byte)
  6.     loc_sessno      (byte)
  7.     name_no         (byte)
  8.     buffer          (dword,ptr)
  9.     buflen          (word,dec)
  10.     dest_name       (byte,ascii,16)
  11.     srce_name       (byte,ascii,16)
  12.     post_routine    (dword,ptr)
  13.     adap_no         (byte)
  14.     cmd_rc          (byte)
  15.     reserved        (byte,hex,14)
  16.  
  17. intercept 5ch
  18.  
  19.     on_entry
  20.         output "====================================="
  21.         output "ON ENTRY"
  22.         output (es:bx->ncb)
  23.         output "Buffer contains : " (es:bx->ncb.buffer->byte,ascii,128)
  24.     on_exit
  25.         output "On exit AL is " al
  26.         output "Buffer contains : " (es:bx->ncb.buffer->byte,ascii,128)
  27.