home *** CD-ROM | disk | FTP | other *** search
/ 1,000 Games (Collectors Edition) - Disc 2 / 1000GamesDisc2.iso / solution / editors / comic / zapcomic < prev   
Encoding:
Text File  |  1994-11-12  |  1.3 KB  |  37 lines

  1. Instructions to patch Captain Comic for non-losing operation.
  2.  
  3. After Patch you will never "really" lose a man, you will always
  4. have 5 men.  You will have to start at the beginning of the current
  5. screen area after getting zapped, but you'll have the same number of
  6. men as before (5).
  7.  
  8. Procedure:
  9.  
  10. note < means hit Return
  11.  
  12. 1. Copy "COMIC.EXE" to "DUMMY"      - make binary copy of file
  13. 2. SYMDEB DUMMY<                    - bring up debugger
  14. 3. U 1f7e<                          - unassemble offset 1f7e
  15.    Should look like this:
  16.      xx:1f7e  A04300    MOV AL,[0043]           - get current number of men
  17.      xx:1f81  3C00      CMP AL,0                - see if you lost last man
  18.      xx:1f83  741f      JZ  1Fa4                - if so take jump
  19.      xx:1f85  FE0E4300    DEC BYTE PTR [0043]     - take away one man
  20.  
  21. 4. We are going to get rid of that last statement:
  22.    A 1f85<                          - begin assembly entry at 1f85
  23.    nop<                             - null it out with 4 nop's (hex 90)
  24.    nop<
  25.    nop<
  26.    nop<
  27.    <                                - end entry
  28.  
  29. 5. Write out new file now:
  30.    W<                               - updates dummy
  31.  
  32. 6. Quit SYMDEB:
  33.    Q<
  34.  
  35. 7. Rename "DUMMY" to "COMIC2.EXE"   - create new Captain Comic Executable
  36.  
  37. 8. Now you can run COMIC2 and never lose a man again!!!