3Dfx Flash Utility and BIOS ROM file for Banshee


Included Files
--------------
FLASH.EXE    - 3Dfx Flash Utility
DOS4GW.EXE   - DOS4GW Redistributable File
README.TXT   - This File

=======================================================================
Installation
=======================================================================

General Information
-------------------
Please see the BIOS Update Instructions Below for step by step update
instructions.

The 3Dfx flash update is started by entering the name of the program
followed by one (and only one) command line parameter (see "Command
Line Parameters" below). The program validates the parameter and
determines the location of the image that is to be loaded. Basically,
if a valid filename is provided, then it is loaded from that.
Otherwise, the image is loaded from a default image contained as a
data resource in the file.

Prior to "burning" the image into the EEPROM, the program will save
off the previous image as a file called "SAVE.ROM". Note that there
is no checking for a current file by that name. In other words, if
the file already exists, it will be written over by the program.

To access the EEPROM device, an addressable area is needed that won't
conflict with other PCI devices. This is accomplished by using the
address of the Banshee's memory mapped registers that have already
been allocated by the PCI system BIOS. Note that any extended memory
that is accessed, the physical address must first be converted to a
linear address before usage by the program.

The memory mapped registers are at PCI configuration register 10h. The
program will use that physical address + 0x800000 for the ROM. There is
no associated logic with it, so the device will respond and the ROM
circuit will control data flow and handshaking. After the programming
is complete, the affected PCI registers are restored.

If a critical error occurs during programming the EEPROM, steps are
taken to insure that a failure does not create a non-bootable system
(see "Error Handling" below). Also, due to the protected mode nature of
this program, the file "DOS4GW.EXE" must be in the current directory or
the command path.


Requirements
------------
- MS-DOS 6.0, Windows 95/Windows 98 (via Command Prompt)
- PC with a Pentium II, Pentium Pro, Pentium or similar processor
- 16MB of RAM or more Suggested


BIOS Update Instructions
------------------------
1) Extract the BIOS Update files to a temporary directory.

2) Reboot the system to MS-DOS.  If Windows 95/98 is being used, reboot
   and press F8 when "Starting Windows..." appears and choose "Command
   Prompt Only"

3) At the DOS prompt, switch to the directory the BIOS update files
   were extracted to.

        EXAMPLE: If the BIOS update files were extracted to
        D:\BANSHEE\B_FLASH enter:

                D: <enter>
                D:\>cd \BANSHEE\B_FLASH  <enter>

4) At the DOS prompt enter FLASH followed by the BIOS ROM filename.

        EXAMPLE: Assuming the BIOS ROM filename is 220b-sub.rom
        you would enter:


                D:\BANSHEE\B_FLASH>FLASH 220b-sub.rom  <enter>

5) After the BIOS has been updated, reboot the system



Command Line Parameters
-----------------------
The following parameters are valid:

FLASH {filename} | /RESET | {/? | /HELP}

Parameter  Description
=========  ===========
filename   Name of the file containing the VGA BIOS ROM image
RESET      Reset to older ROM image
? or HELP  Display a list of the command line parameters (this info)


Error Messages
--------------
Read error from file
====================
The file is first read for a proper checksum before reading it into
the EEPROM. If a read error would occur, it should occur during this
"non-critical" stage. If there is an error after "rewinding" the file
and re-reading it, then the image is loaded from the data resource.

Bad Checksum
============
The image is first checked for a proper checksum before an attempt at
burning the EEPROM is made.

Bad ROM signature
=================
The image is first checked for a proper signature before an attempt at
burning the EEPROM is made.

Programming error (from file)
=============================
If any error occurs during the critical section of writing the image
from a file, then the image is loaded from the data resource.

Programming error (from resource)
=================================
There is no solution.

