Return to my net-boot info main page
Return to primary page of new documentation

This page describes how to join my and Gero's bootroms.

Some quick and dirty patch, but I did not have enough
time to make it better - just needed get it working now.

Method: my bootrom code is used as patch to NIC driver,
and when the driver is invoked by Gero's bootrom, is asks
a question what booting method is to be used. Depending
on the answer, it either removes itself from the driver
so the driver works as Gero's code expects, or takes all
control over the boot and processes NetWare boot.

Using this method I made 16kB bootrom for 3C509 NIC which
gives me choice between two boot protocols - important
because 3C509 cards for TP do not allow larger bootroms.

Here is my code adapted for using with NetBoot, and
an utility (in C) which uses it to patch NIC driver.

It displays two lines, to choose protocol, and if no key
is pressed during 10s, it starts processing NetBoot.

The NIC driver must be COM file (w/o EXE header).

Steps to use it:
- assemble my code and compile the C program on DOS
  (there are commands in batchfile to assemble it)
- use the C program to build patched driver
  (there is batchfile m3c.bat which I used)
- use the patched driver for NetBoot

The version present here was tested, and was succesful.

Some ideas for future:
- allow choosing local boot from this code (how to do it?)
- allow info to be displayed to be configurable, instead
  being hardcoded into my part of bootrom code

I looked into Gero's code, seems the first can be done
with use of INT 0x78 with AH=1 (to restore interrupt
vectors), then by reading boot sector, and so on...

Jerzy Tarasiuk (jt AT fuw.edu.pl)