home *** CD-ROM | disk | FTP | other *** search
- This is zap, a binary file inspector/patcher.
-
- Written by Johan Vromans at Multihouse Research, Gouda, the Netherlands.
- Copyright 1987 Johan Vromans.
- Distribution free as long as you give credit to the original author.
- Military use and explicit resale prohibited.
-
- Features include -
-
- - looking at the file by byte, word or longword,
- - display contents in octal, hex, decimal and ascii,
- - searching for bytes/words/longwords
- - verification of changes
- - buffered update with optional checksum
- - runs on Unix, VAX/VMS and MS-DOS
-
- Zap mimics a program called SIPP (Save Image Patch Program), which
- was supplied by Digital Equipment Corp. with the RT-11 operating system.
-
- ----------------
-
- Building zap
-
- Zap is pretty portable, mainly because it does not use difficult things.
- No shell escapes, no tty rubbish, only standard IO.
-
- The only thing which is important to zap is whether your system
- has byte ordering like a VAX or not.
- When it has its bytes ordered VAX-wise, you may compile zap with -DSWAB=1,
- otherwise use -DSWAB=0. If you are not sure: don't specify -DSWAB and zap
- will find out itself.
-
- This distribution contains:
-
- Read.Me this file
- zap.c C program source
- zap.1 nroff -man manual page
- Makefile makefile for unix
- mkzap.com compile for VAX/VMS
- mkzap.bat compile for MS-DOS
-
- ----------------
- Special notes for Unix:
-
- - the program has been tested on System V and BSD.
-
- - on swabbing and non-swabbing machines.
-
- Special notes for VAX/VMS:
-
- - the program has been tested with VAX-C (not VAX11C).
-
- - always compile with /DEFINE=(SWAB=2) (use the mkzap.com file).
-
- - performs well, but probably limited to stream-lf files.
-
- Special notes for MS-DOS:
-
- - the program has been tested with Microsoft C V4 using small model.
-
- - always compile with -DLINT_ARGS.
-
- ----------------
-
- Suggestions and enhancements are welcome!
-
- Johan Vromans, Multihouse Research
- Usenet: jv@mh.nl via european backbone mcvax.
-
- Disclaimer: Usage of this program is always at your own risk.
-