Page 1 of 1

xfd

Posted: Sat Nov 11, 2006 12:39 am
by asle
Hi all,

I need help once and for all. I'm fed-up of not understanding the doc files of the tools on Amiga. That's been going for a _very_ long time :roll: .
Here's today's tool : xfddecrunchaddr

Code: Select all

	xfdDecrunchAddr SOURCE/A,DEST=TO,HEADER/N,ADDHEAD/S,DECRADDR,
JMPADDR,STCO=STORECOMMENT/S
I'm trying to add a header to a file which I know _must_ have three chunks. Anyway, the "explanation" goes like this :

Code: Select all

ADDHEAD forces xfdDecrunchAddr to do nothing except adding one
of above headers. For headers 3 and 4 you need to specify DECRADDR
and JMPADDR. If no JMPADDR is given, xfdDecrunchAddr uses the
DECRADDR instead for JumpIn as well.
and the "above" header are those :

Code: Select all

0 - No header is linked.
1 - Only the executable hunk information is linked. This is useful
    when the executable program is completely relocatable and thus
    needs not to be forced to a certain memory region.
2 - Only the executable hunk information is linked, but this
    contains one additional BSS hunk.
3 - The xfdDecrunch 1.08 simple header is linked.
4 - The xfdDecrunch 1.08 professional header is linked.
11- This is like 1, but the header overwrites file start and end.
12- This is like 2, but the header overwrites file start and end.
13- This is like 12, but has an additional empty RELOC hunk.
the file being called 'test', I tried these :
xfddecrunchaddr test ADDHEAD/4 DECRADDR=bc4 JMPADDR=92d2
xfddecrunchaddr test ADDHEAD/4,bc4,92d2
and variants. nothing worked and produced no error message.

Any help/advice, here, would be more than welcome !.
Thanks
Sylvain

Posted: Sun Nov 12, 2006 10:18 am
by Muerto