Audio (340) Datatype (50) Demo (203) Development (592) Document (22) Driver (100) Emulation (146) Game (984) Graphics (491) Library (112) Network (230) Office (65) Utility (907) Video (68)
Total files: 4310
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
BinToc | Description: | Binary to C source converter | Download: | bintoc.lha (TIPS: Use the right click menu if your browser takes you back here all the time) | Size: | 21kb | Version: | 2.13 | Date: | 27 Apr 2015 | Author: | Guido Mersmann | Submitter: | uploader | Email: | uploader/uploader com | Homepage: | http://geit.de/eng_bintoc.html | Requirements: | AmigaOS 4.x | Category: | development/misc | License: | Other | Distribute: | yes | Min OS Version: | 4.0 | FileID: | 9289 | | | Comments: | 0 | Snapshots: | 0 | Videos: | 0 | Downloads: | 235 (Current version) | | 235 (Accumulated) | Votes: | 0 (0/0) (30 days/7 days) | |
--- Die deutsche Version ist weiter unten ---
--- English version ---
BinToC is just another binary to C converter. I wrote it, because I needed
additional features (especialy the TERM feature). So I decided to write my own
tool.
The usage is very easy:
BIN/A,TO/A,BYTE/S,WORD/S,LONG/S,ARRAYNAME=AN,PERLINE=PL/N,TERMINATE=TERM/S
BIN is the read file containing the binary.
TO specifies the name of the #?.h file to be written.
BYTE array type is BYTE (Default)
WORD array type is WORD (padding byte my be added at the end)
LONG array type is LONG (padding bytes my be added at the end)
ARRAYNAME allows to specify the name of the array. By default this is the upper
case filename without ".h" suffix. The chars "." and "," are replaced by "_". So
having "data.h" specified as TO, the name of the ARRAY is "DATA", while
"data.misc.h"
create an array named "DATA_MISC"
PERLINE defines the number of element per line. (Default is 8).
TERMINATE adds a 0x00 byte at the end. Useful when dealing with text files.
|