  | 85255 packages online |
|
 |
| | | | | No screenshot available |
|
This program has nothing to do with binhex transfer protocol.
This program converts data (for example program code) into the hexadecimal
data system. This data could be edited with your favorite ASCII text
editor. After that you can convert the data back to their old style. So you
do not need a special hexadecimal editor and you will also be able to
delete, insert parts of the file and things like that. Most hexadecimal
editors only allow to change given data byte for byte.
Be sure you know what you are doing! To insert some data into program code
most time crashes the program, because the internal addresses are now
illegal. But the ability to delete data is useful for removing start code
from modules, pictures or text.
BinHex needs OS 37 (2.0) or later OS versions!
USAGE:
BinHex BIN/A,HEX/A,MAKEBIN/S,ONLYDATA/S,ROWS/N,ASMDATA/S,CDATA/S,
REV=REVERSED/S,SIZE/N
BIN give filename for original data file
HEX give filename for hexadecimal data
MAKEBIN set program to convert HEX to BIN (else BIN to HEX)
ONLYDATA add no ASCII output and no position info to hex data file
ROWS give number of rows in one line (1 row = 4 byte)
ASMDATA creates a field of ASM DC.x lines (not convertable back to bin).
CDATA creates a C style array of data (not convertable back to bin).
REVERSED converts HEX format, where groups of bytes are in reverse
order (at the moment only in HEX->BIN mode)
SIZE 1) for ASMDATA and CDATA (1 = Byte, 2 = Word, 4 = Longword)
2) for REVERSED : gives size of REVERSED data (default = 16)
NOTAB Some editors automatically expand tab stops into spaces (for
example standard editor C:ED). Use this option for these
editors together with MAKEBIN. Now BinHex accepts $ as line end
instead of \t (tab stop) as well.
NOASCII like ONLYDATA, but includes the space characters in number body
The options ASMDATA and CDATA create an output useable in an assembler or
C compiler. If you choose SIZE 2 or 4 and the file does not end at WORD or
LONG boundaries, at the end zeros are added till the boundary.
To make it impossible to overwrite binary data if not wanted use every time
one of the BIN or HEX keywords, but they are not needed!. «BinHex A B» is
same as «BinHex A HEX B», but the second is saver.
hexadecimal data format:
In the hexadecimal file the data is interpreted from begin of line to next
tab stop (\t, $09). If there is no tab stop in the line it is done from
begin of line to next return (\n, $0A). All other parts and spaces are
ignored! With NOTAB option a line may end with $ (the start character of
address) as well.
If there is a \ in the data part all following characters to the next
tab stop (or return) are not converted. They are taken like given (good
for inserting readable text).
dir
example 1:
BIN data in RAM:A Hello World!
call BinHEX RAM:A HEX RAM:B ONLYDATA
HEX data in RAM:B 48656C6C6F20576F726C6421
example 2:
HEX data in RAM:B 4865 6C6c 6f20\World!
call BinHEX RAM:A HEX RAM:B MAKEBIN
BIN data in RAM:A Hello World!
Please report me bugs, comments, suggestions and problems. If possible
write a little mail if you use the program sometimes. If there are some
Enforcer hits or other problems report them as good as possible.
Do not forget BinHex including source is Public Domain! I hope some more
programmers follow the PD/Freeware idea. Shareware is good, but why pay
for example 20$ for a very little utility?
Use it as you want, but WITHOUT ANY WARRANTY!
Please contact me:
************************************************************************
* snail-mail: * e-mail: *
* Dirk Stoecker * stoecker amigaworld.com *
* Geschwister-Scholl-Str. 10 * dstoecker gmx.de *
* 01877 Bischofswerda * world wide web: *
* GERMANY * http://home.pages.de/~stoecker/ *
* phone: * pgp key: *
* GERMANY +49 (0)3594/706666 * get with finger or from WWW pages *
************************************************************************
|
Contents of util/cli/BinHex.lha PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 3266 5128 63.7% -lh5- 2252 Jun 22 2000 BinHex
[generic] 2052 4467 45.9% -lh5- c1d7 Jun 22 2000 BinHex.readme
[generic] 4138 11603 35.7% -lh5- 9c00 Jun 22 2000 Source/BinHex.c
[generic] 805 2188 36.8% -lh5- 4c99 Jun 22 2000 Source/Include/SDI_ASM_STD_functions.lib
[generic] 1969 5607 35.1% -lh5- f09b Jun 22 2000 Source/Include/SDI_ASM_STD_protos.h
[generic] 534 1390 38.4% -lh5- b300 Jun 22 2000 Source/Include/SDI_compiler.h
[generic] 1076 2448 44.0% -lh5- 44a5 Jun 22 2000 Source/Include/SDI_functions.o
[generic] 1033 2537 40.7% -lh5- e888 Jun 22 2000 Source/Include/SDI_protos.h
[generic] 359 618 58.1% -lh5- 37f8 Jun 22 2000 Source/Include/SDI_structures.h
[generic] 528 1223 43.2% -lh5- cbdb Jun 22 2000 Source/Include/SDI_version.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 10 files 15760 37209 42.4% Jun 28 2000
|
|
|
 |
| Page generated in 0.02 seconds |
Aminet © 1992-2026 Urban
Müller and
the Aminet team.
Aminet contact address: <aminet aminet net> |
| Try new and exciting server! |