home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
24b
/
getrom.zip
/
ROM.DOC
< prev
next >
Wrap
Text File
|
1987-08-20
|
6KB
|
153 lines
Rom capture utilities for PC and AT
This is a set of utilities that allows the user to capture the contents
of the rom sets in either the PC or the AT. It allows the content of the rom
to be written to a file called xtrom for the XT or atrom for the AT. A
utility called romsplit is provided for the AT that allows the atrom file to
be split into two files that represent the even and odd bytes and which are
called tempeven and tempodd, respectively. Note that this is not necessary
for the XT. Another utility called lsplit is provided to allow the large
files produced by romsav to be split into files that will fit into the desired
destination eproms. For prom burners that accept data format in the Motorola
S record format, a utility called binex is provided that converts a binary
file into standard S record format. A typical session is described below for
an AT. Original Author UNKNOWN, more routines added by Allan Teo.
1 MENU is the program that drives all the other modules
2 You can use the other programs individually but
it is easier because a lot of things have been taken care
of for you.
/* Here is a sample session for an AT*/
1 Choose option 1 to start saving your AT or Xt bios to disk
If you are using an eprom burner, read the chips (mostly 2) into
tempevn and tempodd files and then run UNSPLIT.
It will recreate a modifiable bios file.
If you have 4 27128 chips on hand, then you have to use
a combination of APPEND and UNSPLIT. Difficulty is
that you must know which one to append to create one file of
even bytes and one of odd bytes. SOME clones have 4 27128 chips
but these are getting rare. Best way to solve the problem?
place the roms into the AT and Save it using the MENU program.
2 At this point you can modify your bios, or use option 7
to add new drive types to your bios. Use Option 8 to shell
to DOS and use your favourite Hex editor.
3 Choose option 2 to make a new checksum byte for the modified rom
take note of the file you create with this option.
For the Award bios, please read last few lines.
4 Choose option 3 to split the AT bios files into its
even and odd counterparts. This is compulsory. It will
generate the files Tempevn and Tempodd.
5 If Tempevn and Tempodd are 16384 bytes each, then use 2 27128 eproms.
otherwise if they are 32768 bytes each then use 2 27256 eproms.
You can burn them at this point.
If you do not want to do this, you can have the 2 32768 files
split into 4 16384 byte files which will then require you to
use 4 27128 eproms. I do not recommend this last suggestion.
It always leads to confusion.
6 If you choose to use 4 27128 eprom chips for storing the 2 32768 files
then choose option 4 which will automatically generate
evn0 evn1 odd0 odd1 files each 16384 bytes long from files Tempevn and
Tempodd respectively.
7 Choose option 5 if you had used option 3 and lost the original file.
It will regenerate it for you.
8 Choose option 6 if you had used option 4 and had lost the original
file.
9 HD.exe is the program which generates drive tables for the AT.
If you specify more than 8 heads the program automatically
sets up the Control Byte so that Bit 3 is set to 1. Otherwise
it will rely on the value of the Control byte you give. This Byte
is normally supplied by the manufacturer.
Bit 6 and 7 disables retries and I don't think
you would want to set them.
10 If you are producing S records run "binex <source> <destination>" on
each file that you wish to convert to S record format.
11 If you are modifying an XT bios file, use the XT save option
in option 1.
Exit to DOS.
use lsplit 8192 xtrom if xtrom is 40960 bytes
After this you can modify file F4 which will contain system Bios.
If Xtrom is 8192 bytes then you may modify it directly.
Fun modifications : change the name of the company that sold the
machine to you. Put your own name there.
Then after the changes, run Chksum on the file
If your xtrom file was 40960 bytes then you will then have to
burn f0 f1 f2 f3 and f4 into 5 2764 eproms.
Otherwise use 1 2764 eprom.
I cannot find any other useful mods for an XT.
12 If you are using Award Inc Bios set, I have provided a public
domain program which re-calculates the checksum. Award uses
a lot of special checksums as a means of Copy-protection.
Many intresting options are provided in Award.exe.
I have nothing to do with that program.
13 Main BIOs on the market.
XTs:
Ibm xt (all models) use romsavxt.exe or 5 2764 ROMS.
Clone Should only have 1 2764 eprom. Basic is coprighted.
Clone Under the table 100% 'compatible' 5 2764 or 1 2764 and 1 27256
combo.
AT:
AMI: Dont like it this program not tested on it.
Comments: its not too hot. Size 2 27256 eproms Or
2 27128 eproms depending if you have the diagnostics built in.
IBM Newest 1985, 2 27256 eproms.
Award Quite Nice. V 3.01 has bugs 3.02x is good.
2 27128 eproms.
EPROMS: in bytes ; if you are new WATCH OUT FOR PROGRAMMING VOLTAGE!
27512 = 65536
27256 = 32768
27128 = 16384
2764 = 8192
APPEND EXE Appends one file to another
BINEX EXE Make S records.
CHKSUM EXE Calculates Checksum for normal roms
LSPLIT EXE Splits files into smaller files
ROMSAVAT EXE Save AT rom ->65536 bytes
ROMSAVXT EXE Save XT rom ->40960 bytes
ROMSPLIT EXE Make Even and Odd files.
UNSPLIT EXE Undo result of romsplit.exe
MENU EXE Main Menu
ROMSAV32 EXE Save AT rom ->32768 bytes
ROMSAV8 EXE Save XT rom ->8192 bytes
HD EXE Hard drive table modification program
uppread.me Discription of Eprom types
Award.exe Modifies Award's AT bios which is 'Modify Protected'
THE ABOVE PROGRAMS WERE COMPILED WITH TURBO C
except for award.exe which is of unknown origin.
** ORIGINAL AUTHOR UNKNOWN *
Completely re-written and improved by
by Allan Teo, 76566,2357
Please contact me if you find bugs. I am leaving Canada in
a month. So let me know quickly.