home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / NOVELL / PKTDRV7.ZIP / ROMREL.DOC < prev    next >
Encoding:
Text File  |  1989-08-10  |  5.6 KB  |  126 lines

  1.         
  2. Name:
  3.     ROMREL(.COM)
  4.  
  5. Function:
  6.     ROMREL will release the hooks into the system BIOS made by the
  7.     Netware Remote Boot ROM to facilitate the use of alternate
  8.     device drivers with the network interface card (NIC).
  9.  
  10. Usage:
  11.     ROMREL <int_number>
  12.  
  13. Version:
  14.     2.0 - Release 08/10/89
  15.  
  16. Description:
  17.     In order to support remote booting using Netware on a PC, the
  18.     NIC is equipped with a special ROM, usually provided by the NIC
  19.     manufacturer.  The ROM will take control of the NIC at cold
  20.     boot time, and map a disk image resident on the Netware server
  21.     as drive A: on the PC.  In order to do this, the ROM must hook
  22.     into various BIOS disk I/O vectors, as well as the card itself.
  23.     NET3.COM contains code to, in part, undo these hooks, thereby
  24.     returning control of the drive to the local BIOS and the NIC to
  25.     the IPX/SPX driver.
  26.  
  27.     The purpose of ROMREL is to emulate this "unhooking" process
  28.     normally performed by NET3 without actually loading another
  29.     protocol in place of the ROM, as does IPX.COM.  The goal of ROMREL
  30.     is to leave the system vectors set as if the system were loaded
  31.     from a local hard disk or floppy without the use of the ROM.
  32.  
  33.     ROMREL is not required in the "normal" scheme of things where
  34.     IPX and NET3 are used in the AUTOEXEC.BAT file after remote boot
  35.     to establish a working connection to a Netware server.  ROMREL
  36.     is required when some device driver/protocol other than IPX/SPX
  37.     is to be loaded, or when IPX does not actually contain the NIC
  38.     device driver.
  39.  
  40.     For example, with ROMREL the user could utilize a Netware server
  41.     to boot DOS, but then attach to an NFS server to map a local
  42.     drive (say, F:) to a remote filesystem.  Alternately, ROMREL
  43.     could be used to release the ROM so a generic network driver
  44.     can be loaded, such as a Packet Driver conforming to the FTP, Inc.
  45.     specification.  This would allow Netware IPX/SPX to share
  46.     the NIC with other protocols, such as TCP/IP.  Some implementations
  47.     of the Packet Driver are incorporated into IPX.COM so as to
  48.     eliminate the need for ROMREL.  However, most implementations
  49.     (especially those in the Public Domain) are designed into a separate
  50.     TSR to be loaded before IPX.COM.  Without ROMREL, this TSR would
  51.     conflict with the Boot ROM, as both driver and ROM would be trying
  52.     to use the NIC at the same time.
  53.  
  54.     One thing to realize at this point is that once ROMREL is executed,
  55.     drive A: disappears.  Therefore, ROMREL would have to be used in
  56.     conjunction with a RAM Disk so execution could continue.  To
  57.     accomplish this, CONFIG.SYS would be configured to create a RAM
  58.     Disk upon boot (using VDISK, for example).  The AUTOEXEC.BAT file
  59.     would then copy from the A: image to the RAM Drive those files
  60.     necessary for continuing execution after ROMREL.  In the previous
  61.     example, that would include the packet driver TSR, IPX, and NET3.
  62.     The system can then be made to log into the server and continue
  63.     with any other initialization as necessary.
  64.  
  65.     ROMREL will release the hooks into the system DOS/BIOS and
  66.     optionally mask off the interrupt set on board the NIC via the
  67.     8259 bus interrupt controller.  Masking is usually done to prevent
  68.     any spurious interrupts which may be generated by the NIC from
  69.     jumping to the ROM interrupt handler before the new device driver
  70.     can be loaded.  (Also, some device drivers may not properly
  71.     install their interrupt handling code until after some internal
  72.     initialization takes place.  During this time the NIC could
  73.     interrupt the system and jump to the wrong device handling code.)
  74.  
  75.     If you wish to have ROMREL release the interrupt, invoke it as:
  76.  
  77.         romrel <int_number>
  78.  
  79.     where int_number is 2-7 on a PC/XT, or 2-15 on an AT.  For example,
  80.     if the network card is set to use IRQ 2, use:
  81.  
  82.         romrel 2
  83.  
  84.     If you do not want ROMREL to release the interrupt, specify an
  85.     int_number of 0, as:
  86.  
  87.         romrel 0
  88.  
  89.     It is highly recommended that you specify the actual IRQ number.
  90.     Also, be careful to specify the correct interrupt number for the
  91.     NIC.  ROMREL does not have any way of determining that the
  92.     interrupt you specify actually belongs to the NIC.  Using the
  93.     wrong number could, say, disable a COM port or even the floppy
  94.     disk driver!  Be precise.
  95.  
  96.     Furthermore, ROMREL is compatible with various network-aware
  97.     mark and release programs if invoked before a mark is issued.
  98.     Also, if release will be used, you should have ROMREL mask off
  99.     the card interrupt.  If you don't, the interrupt may be pointing
  100.     back to the Boot ROM after a release is executed, and the system
  101.     will most likely crash.
  102.     
  103. Author:
  104.     Glen M. Marianko
  105.  
  106. Disclaimer:
  107.     The user of this software assumes all responsibility for its
  108.     use.  The user has been made aware of the potentially volatile
  109.     results of incorrect use of this software, which may lead to
  110.     the loss of data.  The user is advised to test this software
  111.     thoroughly before relying upon it or using it in connection with
  112.     any valuable data, and that the user frequently perform data
  113.     backups so as to prevent any significant loss of data.
  114.     This software is provided AS-IS without any warranty, either 
  115.     expressed or implied, as to its performance, merchantability, 
  116.     or fitness for purpose.  The entire risk as to the results 
  117.     and performance of the software is assumed by the user.
  118.         Should the program prove to be defective, the user assumes the
  119.     cost of all necessary servicing, correction, and repair.
  120.  
  121. Copyrights:
  122.     Portions of ROMREL are (C) Copyright 1983, 1988 Novell, Inc.
  123.  
  124. Bugs:
  125.     The author is not aware of any bugs as of this writing.  Please
  126.     report any bugs directly to the author.
  127.