home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / POLYBOOT.ZIP / PATCHMAN.US < prev    next >
Text File  |  1990-10-07  |  3KB  |  71 lines

  1. Shortcut Explanation to PATCH401.ASM
  2. ------------------------------------
  3.  
  4. These explanations are for SPECIALISTS only !!!
  5.  
  6. If you have no expirience with assembly programming for DOS, this
  7. program is probably not a good example to begin.
  8.  
  9. Ask a friend with expirience in assembler, write netmails to me
  10. or just call (number and times see README), but dont poke around
  11. in this program - your' just frustrating yourself.
  12. (You can even damage all data on your harddisk, if you're doing wrong !)
  13.  
  14.  
  15. 1. Principle Thoughts
  16. ---------------------
  17.  
  18. Because in most cases it isn't possible to work with POLYBOOT without
  19. making patches to DOS, the program PATCH330.COM was developed.
  20.  
  21. It should help the end user, who mostly lacks the tools amd/or
  22. knowledge to make the necessary patches himself. This program
  23. does the necessary patches fully automatic, and reverts even the
  24. patches for creation of bootable floppy discs.
  25.  
  26. Because of the fast upgrades and the wide variety of versions, it is
  27. nearly impossible to be up to date with patch-programs for all
  28. national/OEM/etc. releases. Therefore I supply now source code for
  29. the latest patcher and adress all assembler-cracks, especially in
  30. foreign countries (i will try to be up-to-date in Germany).
  31. I hope there will be patchers for all new releases short after
  32. the release of new versions of DOS in all BBSs.
  33.  
  34.  
  35. 2. Changes in Source
  36. ---------------------
  37.  
  38. Program code of the patcher needn't be changed - all version dependent
  39. data is collected, where it should be, in the data area.
  40. Change the following lines:
  41.  
  42. 372-381     Message-Textes (only for beauty)
  43. 383+384     Name of system files ("Dir-Format" 8+3 - no period !)
  44. 386+387     Name of system files ("Path-Format" Ascii-string with period)
  45.  
  46. Now you must search a string in both system files:
  47. This string is composed of version number and CRLF, e.g:
  48. Version 3.30 string :    "3.30",0Dh,0Ah
  49. Determine the offset of the first character from begin of file.
  50.  
  51. 389 ff        insert offset in biocmp (Value from IBMBIO or IO)
  52. 393 ff        insert offset in doscmp (Value from IBMDOS or MSDOS)
  53.  
  54. Now search the string "\CONFIG.SYS" (backslash is important !) in the
  55. BIOS-file (IBMBIO or IO). Insert the offset from begin of file in
  56.  
  57. 397  hd1org      and
  58. 401  hd1pat      .
  59.  
  60. At least you must find the byte string from hd2org (every after "Länge").
  61. Insert the offset from begin to
  62.  
  63. 405  hd2org      and
  64. 413  hd2pat      .
  65.  
  66. OK, that's it - run makefile! - hope! - patch!
  67.  
  68. Have Luck
  69.  
  70.      Markus Noller
  71.