home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 24b / getrom.zip / ROM.DOC < prev    next >
Text File  |  1987-08-20  |  6KB  |  153 lines

  1.                   Rom capture utilities for PC and AT
  2.  
  3.      This is a set of utilities that allows the user to capture the contents
  4. of the rom sets in either the PC or the AT.  It allows the content of the rom
  5. to be written to a file called xtrom for the XT or atrom for the AT.  A
  6. utility called romsplit is provided for the AT that allows the atrom file to
  7. be split into two files that represent the even and odd bytes and which are
  8. called tempeven and tempodd, respectively.  Note that this is not necessary
  9. for the XT.  Another utility called lsplit is provided to allow the large
  10. files produced by romsav to be split into files that will fit into the desired
  11. destination eproms.  For prom burners that accept data format in the Motorola
  12. S record format, a utility called binex is provided that converts a binary
  13. file into standard S record format.  A typical session is described below for
  14. an AT.    Original Author UNKNOWN, more routines added by Allan Teo.
  15.  
  16.  
  17. 1   MENU is the program that drives all the other modules
  18.  
  19. 2   You can use the other programs individually but
  20.     it is easier because a lot of things have been taken care
  21.     of for you.
  22.  
  23. /* Here is a sample session for an AT*/
  24.  
  25. 1   Choose option 1 to start saving your AT or Xt bios to disk
  26.  
  27.     If you are using an eprom burner, read the chips (mostly 2) into
  28.     tempevn and tempodd    files and then run UNSPLIT.
  29.     It will recreate a modifiable bios file.
  30.     If you have 4 27128 chips on hand, then you have to use
  31.     a combination of APPEND and UNSPLIT. Difficulty is
  32.     that you must know which one to append to create one file of
  33.     even bytes and one of odd bytes. SOME clones have 4 27128 chips
  34.     but these are getting rare.    Best way to solve the problem?
  35.     place the roms into the AT and Save it using the MENU program.
  36.  
  37. 2   At this point you can modify your bios, or use option 7
  38.     to add new drive types to your bios. Use Option 8 to shell
  39.     to DOS and use your favourite Hex editor.
  40.  
  41. 3   Choose option 2 to make a new checksum byte for the modified rom
  42.     take note of the file you create with this option.   
  43.     For the Award bios, please read last few lines.
  44.  
  45. 4   Choose option 3 to split the AT bios files into its
  46.     even and odd counterparts. This is compulsory. It will
  47.     generate the files Tempevn and Tempodd.
  48.  
  49.     
  50. 5   If Tempevn and Tempodd are  16384 bytes each, then use 2 27128 eproms.
  51.     otherwise if they are 32768 bytes each then use 2 27256 eproms.
  52.     You can burn them at this point.
  53.     If you do not want to do this, you can have the 2 32768 files
  54.     split into 4 16384 byte files which will then require you to
  55.     use 4 27128 eproms. I do not recommend this last suggestion.
  56.     It always leads to confusion.
  57.  
  58. 6   If you choose to use 4 27128 eprom chips for storing the 2 32768 files
  59.     then choose option 4 which will automatically generate
  60.     evn0 evn1 odd0 odd1 files each 16384 bytes long from files Tempevn and
  61.     Tempodd respectively. 
  62.  
  63. 7   Choose option 5 if you had used option 3 and lost the original file.
  64.     It will regenerate it for you.
  65.  
  66. 8   Choose option 6 if you had used option 4 and had lost the original
  67.     file.
  68.  
  69.  
  70. 9   HD.exe is the program which generates drive tables for the AT.
  71.     If you specify more than 8 heads the program automatically
  72.     sets up the Control Byte so that Bit 3 is set to 1. Otherwise
  73.     it will rely on the value of the Control byte you give. This Byte
  74.     is normally supplied by the manufacturer.
  75.     Bit 6 and 7 disables retries and I don't think
  76.     you would want to set them.
  77.  
  78. 10  If you are producing S records run "binex <source> <destination>" on
  79. each file that you wish to convert to S record format.
  80.  
  81.  
  82.  
  83. 11   If you are modifying an XT bios file, use the XT save option
  84.      in option 1. 
  85.      Exit to DOS.
  86.      use lsplit 8192 xtrom if xtrom is 40960 bytes
  87.      After this you can modify file F4 which will contain system Bios.
  88.  
  89.      If Xtrom is 8192 bytes then you may modify it directly.
  90.      Fun modifications : change the name of the company that sold the
  91.      machine to you. Put your own name there.
  92.      Then after the changes, run Chksum on the file
  93.      If your xtrom file was 40960 bytes then you will then have to 
  94.      burn f0 f1 f2 f3 and f4 into 5 2764 eproms.
  95.      Otherwise use 1 2764 eprom.
  96.      I cannot find any other useful mods for an XT.
  97.  
  98. 12   If you are using Award Inc Bios set, I have provided a public
  99.      domain program which re-calculates the checksum. Award uses
  100.      a lot of special checksums as a means of Copy-protection.
  101.      Many intresting options are provided in Award.exe.
  102.      I have nothing to do with that program.
  103.  
  104. 13  Main BIOs on the market.
  105.    XTs:
  106.    Ibm xt (all models) use romsavxt.exe or 5 2764 ROMS.
  107.    Clone   Should only have 1 2764 eprom. Basic is coprighted.
  108.    Clone   Under the table 100% 'compatible' 5 2764 or 1 2764 and 1 27256
  109.            combo.
  110.    AT:
  111.     AMI: Dont like it this program not tested on it.
  112.          Comments: its not too hot. Size 2 27256 eproms    Or
  113.          2 27128 eproms depending if you have the diagnostics built in.
  114.     IBM  Newest 1985, 2 27256 eproms.
  115.  
  116.   Award     Quite Nice. V 3.01 has bugs 3.02x is good.
  117.          2 27128 eproms.
  118.    
  119.      
  120. EPROMS: in bytes ; if you are new WATCH OUT FOR PROGRAMMING VOLTAGE!
  121. 27512 = 65536
  122. 27256 = 32768
  123. 27128 = 16384
  124. 2764  = 8192
  125.  
  126.  
  127. APPEND   EXE   Appends one file to another
  128. BINEX    EXE   Make S records.
  129. CHKSUM   EXE   Calculates Checksum for normal roms
  130. LSPLIT   EXE   Splits files into smaller files
  131. ROMSAVAT EXE   Save AT rom ->65536 bytes
  132. ROMSAVXT EXE   Save XT rom ->40960 bytes
  133. ROMSPLIT EXE   Make Even and Odd files.
  134. UNSPLIT  EXE   Undo result of romsplit.exe
  135. MENU     EXE   Main Menu
  136. ROMSAV32 EXE   Save AT rom ->32768 bytes 
  137. ROMSAV8  EXE   Save XT rom ->8192  bytes
  138. HD       EXE   Hard drive table modification program
  139. uppread.me     Discription of Eprom types
  140.          
  141. Award.exe      Modifies Award's AT bios which is 'Modify Protected'
  142.  
  143.  
  144.        THE ABOVE PROGRAMS WERE COMPILED WITH TURBO C
  145.        except for award.exe which is of unknown origin.
  146.         ** ORIGINAL AUTHOR UNKNOWN *
  147.         Completely re-written and improved by
  148.         by Allan Teo, 76566,2357
  149.         Please contact me if you find bugs. I am leaving Canada in
  150.         a month. So let me know quickly.
  151.    
  152.  
  153.