home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 152.lha / XBoot / xboot.doc < prev    next >
Text File  |  1988-04-26  |  956b  |  23 lines

  1.    This is a VERY simple utility I felt I needed to study those nasty Viruses
  2. hanging around...
  3.    It converts a boot-block into an executable file, so you may use
  4.    your favorite debugger (Wack, Dis, ...) to study it.
  5.    SYNTAX: xboot infile outfile
  6.    CAVEATS:
  7.    <infile> should be exactly 1024 bytes long. It is normally the dump
  8.    of blocks 0 and 1 of a floppy disk.
  9.    DETAILS:
  10.    The first three longwords of the boot-block are put in the second hunk
  11.    (data hunk).
  12.    All other data is thrown into the first hunk (code hunk).
  13.    This has the disadvantage of breaking the PC-relative adressing for
  14.    the data (like in ByteBandits virus).
  15.    COMPILATION NOTES:
  16.    I used standard AmigaDOS file functions, so that you may compile with
  17.    amiga.lib before lc.lib, and have a smaller executable.
  18.    DISTRIBUTION:
  19.       Free ! This a Public Domain. Do whatever you want with this program.
  20.    AUTHOR:
  21.       Francois ROUAIX
  22.       rouaix@inria.inria.fr
  23.