home *** CD-ROM | disk | FTP | other *** search
- KILL-O-ZAP The Ultimate Zapper
- ===============================
-
- PROGRAM DESCRIPTION
- KILL-O-ZAP Patches Disks, Files and Memory. It is also resident, thanks
- to Lane Ferris' memory resident code for Turbo Pascal. You can also zap
- interactively with KZAP.COM or in "Batch" mode with KZBAT.COM.
-
- Basically you can use these programs to generally muck things up royally.
- So please be carefull. If you have edit-mode in KZAP.COM toggled OFF, then
- things should be safe, but I'm not going to guarantee anything. If you have
- EDIT-MODE toggled ON, then every change you make is saved, AS SOON AS YOU
- MOVE OUT OF THE CURRENT BLOCK or exit KZAP, (and sometimes before). You
- should act as if ALL changes that you make are immediate and permanent,
- because they essentially are. However, if you are entering a number in a
- hex cell, and you've entered the first character, but not the second, then
- you can hit ESCAPE, and the old number will appear. Once you've entered
- both characters, though, it's in there.
-
- KILL-O-ZAP Will even patch hidden and read-only files. It does this by
- changing the files' attributes before it loads them. Then, after it is
- finished with that file, it changes its attribute bits back to their
- original values. However, if you are zapping a file in memory resident
- mode, and if you never UnLoad it (F5), then the old attributes go Bye-Bye,
- and the file is now just a normal Read-Write Non-System File. If not in
- memory resident mode, then when you finish out of the program (w/ ESC),
- then all changes in the current block are written, the file is closed and
- the original attributes are restored. So when not in memory resident mode,
- you can always count on having the original file attributes retained.
-
-
- PROBLEMS
- As of right now, the bug in the disk zapping feature is still there, this
- means that disk zapping is still disabled when memory resident. Sorry.
- Hopefully, this is not a serious probelm and I'll be able to solve it.
-
-
- THE VIEW FEATURE
- So you don't have a calculator handy to convert the data? Use the view
- feature. One point to make, Integer and Real views are calculated with the
- most significant byte being on the right, because this is the standard
- method of representation in DOS. But to view Bytes in Decimal or Binary,
- the bytes are show left to right, because this helps prevent the horrible
- affliction of Programmer's Cross-Eyes. Actually it's because you are
- viewing more than one value, (i.e. each byte represents a separate
- calculated value) whereas in the integer and real views, a number of bytes
- represent one value. If this section doesn't mean anything to you, then
- don't read it. (Also, the Real View, is sort of a quick hack; it only
- shows the bytes as a Turbo Pascal Real Number).
-
-
- HINTS
- Try loading two files in KZAP at once and comparing them. I have used this
- technique many times to crack games that save the game state in files. I
- would play the game, save it, rename it, then I would go back to the game,
- make a small move of some sort, then save it a second time. Then I would
- compare the two saved games. It is often easy to distinguish things like
- scores, hit points, amounts, sizes, etc. Then all you do is patch the file
- so that your character, or whatever is stronger than King Kong and your on
- your way...
-
- Also, load your favorite program into KZAP, then use the Ascii word search
- feature, see what the program is capable of doing. Often the text strings
- in an executable file give you a really good idea of what's going on in the
- code.
-
- You can also use the save blocks feature of KZAP to take snapshots of disks,
- sections of files, or RAM, for future fun and games.
-
- Use the recording feature of KZAP to "save" a ZAP. Then if you ever have
- need to perform the same zap again, it's as easy as 123. (hee hee). Just
- replay the ZAP file produced by the recording with the KZBAT.COM program.
-
-
- COLORS
- So you don't like the colors I use? Well, there's no accounting for taste,
- but if you really want to change them, well o.k., here's how: There are two
- ways to do this: first, you could do it manually, and the complete
- instructions are given below for zapping KZAP.COM and KZBAT.COM. Or you
- could use KZBAT to replay these files:
-
- For which
- Zap File Target File Monitor
- ============ ============ =========
- KZAPCLR.ZAP KZAP.COM Color
- KZAPMONO.ZAP KZAP.COM Monochrome
- KZBATCLR.ZAP KZBAT.COM Color
- KZBATMNO.ZAP KZBAT.COM Monochrome
-
-
- Color locations in KZAP.COM V2.2C:
-
- TEXT CONSTANT (ORIGINAL COLOR) HEX OFFSET* DESCRIPTION
- -----------------------------------------------------------
- TitleColor Yellow (0E) 3A60 Top line Title
- RevTitleColor RevLtGray (70) 3A61
- ToplineColor White (0F) 3A62 Where it says OFFSET
- NameColor Yellow (0E) 3A63 Disk/File Name
- RevNameColor RevLtGray (70) 3A64
- ViewColor Yellow (0E) 3A65 View Box
- CellColor Yellow (0E) 3A66 A data Cell
- RulerColor RevLtGray (70) 3A67 The Ruler Line
- ModeLineColor Yellow (0E) 3A68 Edit-Mode is ON, etc.
- PromptColor RevLtGray (70) 3A69 The Text that prompts
- HlpLineColor RevLtGray (70) 3A6A Two lines of help at bottom
- BlkNoColor Yellow (0E) 3A6B The Block Numbers
- HelpTxtColor Yellow (0E) 3A6C Color For help screen text
- HelpRevColor RevLtGray (70) 3A6D
- HelpEndColor Yellow (0E) 3A6E last line of help screen
- ByeByeColor LightMagenta (0D) 3A6F Th-Th-That's All Folks!
-
-
- * These are the locations as of Version 2.2C. If I come out with a new
- version, The locations may change, but they will always stay the same
- relative to each other. So you could search for the first three colors (0E
- 70 0F), and when you find them, see if the rest of the colors follow in the
- proper order (this is how I found their locations). But they probably won't
- change anyway, because they're all the way up front in my program, and it's
- a pain for me if they do change, because then I'll have to rewrite this
- stupid chart.
-
-
- Color locations in KZBAT.COM V1.0:
-
- TEXT CONSTANT (ORIGINAL COLOR) HEX OFFSET* DESCRIPTION
- -----------------------------------------------------------
- TitleColor RevLtGray 2C9F The Title
- MainWndwColor Yellow 2CA0 Main Window Text
- SubWndwColor White 2CA1 Running Instructions
- DirectoryColor White 2CA2 Directoy window/name
- ErrorColor Yellow 2CA3 Error Window
- FilesColor Yellow 2CA4 Zap + Target Window
- MenuColor Yellow 2CA5 Zap Files Menu
- ZappingColor Yellow 2CA6 Zapping Window
-
-
- Below are some color values that you can use in the above locations to make
- your KILL-O-ZAP prettier ...
-
- Some Color Values:
- --------------------------
- COLOR HEX VALUE
- Black = 00
- Blue = 01
- Green = 02
- Cyan = 03
- Red = 04
- Magenta(YUK) = 05
- Brown(Ick) = 06
- LightGray = 07
- DarkGray = 08
- LightBlue = 09
- LightGreen = 0A
- LightCyan = 0B
- LightRed = 0C
- LightMagenta = 0D
- *Yellow = 0E
- *White = 0F
-
- *RevLtGray = 70
-
- [RevLtGray, like any reverse color, is obtained by multiplying any of the
- basic colors above in the range: 1 - 7 by hex 10, which makes things easy
- because the color values above are given in hex, so the reverse colors are
- in the range 10 - 70 hex (every multiple of hex 10). If you multiply the
- colors in the range 8 - F by hex 10, then you get a blinking color].
-
- *Shows up nicely in monochrome.
-
- To change the colors, all you have to do is zap KZAP.COM and change the
- colors to suit your taste.
-
- INSTRUCTIONS FOR MANUAL ZAPPING
- ========================================================================
- Type: KZAP KZAP.COM (at the DOS prompt).
- When the program comes up, you hit the F8 key (Goto Byte Offset).
- It will ask you for the target offset and you type: 3A61 (hit ENTER)
- Then you hit the F10 key to Toggle EDIT-MODE ON.
- Then you start changing bytes. (Use the keyboard, writing on the screen
- with a bic pen doesn't work).
- It's not a good idea to change bytes outside of the given range.
- You might want to do this on a COPY of KZAP.
-
-
- REVISIONS
- 2.2B
- Lots of annoying little bugs were cleaned up between 2.2 and 2.2B. Some of
- the little display glitches were also cleaned up; particularly dealing with
- the View. Also, I took out the ascii view. This was a holdover from KILL-
- O-ZAP'S earlier incarnation - Dumpat, where it was more obviously needed. I
- also added the save blocks feature, and a bit more error checking.
-
- 2.2C
- Recording Feature added! Record changes to a file with Shft-F6 and play
- them back with KZBAT.COM.
-
-
- SUPPORT, ETC.
- If you want the source code, it's $20, and I will send you a diskette with
- a copy of the complete Turbo Pascal source code, plus the memory resident
- code by Lane Ferris that makes KZAP resident. You will get complete
- instructions on how to compile it and fool the Turbo Pascal Intr() routine
- into properly executing the absolute disk sector read and write interrupts:
- 25H and 26H, (which are nasty enough to leave crap on the stack after
- exiting).
-
- If you want support, that's $10 per letter answered. Hey, this is public
- domain software, there's no big company behind it to hire people to sit
- around all day and answer questions, it's just little ol' me. So, if you
- want to get an answer, stick a $10 check in your envelope.
-
-
- My address:
-
- Doug Bagley
- 207 Edgehill Rd.
- Merion, PA 19066
-
-
- Happy Zapping,
- Doug