Category : Miscellaneous Language Source Code
Archive   : HACKROM.ZIP
Filename : ROM.DOC
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. Run the command "romsavat". This will produce a file called "atrom".
1.1 FOR THE TOSHIBA t1100+ DELETE THE FIRST 2000h(8192d) BYTES
SINCE IT OCCIPIES A 27256 EPROM (32K)
2. Run the command "romsplit" (copy "atrom" to a new file temp). This
will produce two files called "tempeven" and "tempodd".
3. If the destination eproms are 27256 then it is not necessary to split
the files into smaller ones, otherwise run the command "lsplit
tempeven", where
bytes (e.g. "lsplit 16384 tempeven" to make tempeven into two files called
"F0" and "F1" that will fit into 27128 eproms. Rename the files to some
new name so that they will not be overwritten at the next step. Now run
the command "lsplit
eproms.
3.0.1 You can run APPEND to get LSPLITed ROMS back to the original config.
EG: Append F0 F1 tempevn to get back tempevn
RUN UNSPLIT to get back ATROM after recovering tempevn + tempodd
3.1 If you are using roms that come only in 2 27128 eproms (EG: AT PHEONIX),
and you had run ROMSAVAT you will still get a 65536 byte file.
then run UNSPLIT after running lsplit 16384 tempevn etc
producing the F0 and F1 files for both even and odd eproms.
F0 should all be FFs or some garbage and F1 is CODE.
Copy the EVEN F1 to tempevn and the ODD F1 to tempodd.
run unsplit. It will produce a file call ROM.
You can then debug and change it. No point wasting it in 2 27256 eproms.
3.2 Chksum should then be run to recalculate the chksum and produce
a new file you specify, say TEMP. Then you can split it again.
3.3 if the rom file is 65536 bytes, then in DEBUG, the rest of the code
should continue at CS+1000:0 to the end where you can see the date.
4. If you are producing S records run "binex
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/