home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / lan / driver6s / romrel.doc < prev    next >
Text File  |  1989-08-10  |  6KB  |  126 lines

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