English Amiga Board Home Mobile Skin      


Go Back   English Amiga Board > Coders > Coders. General

Reply
 
LinkBack Thread Tools
Old 03 March 2007, 20:15   #1
Registered User
 
Muerto's Avatar
 
Join Date: Dec 2005
Location: Kerteminde / Denmark
Age: 37
Posts: 135
xfd...

Hello all..
Im trying to help a friend...

Quote:
Originally Posted 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
Here's today's tool : xfddecrunchaddr
Code:
	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:
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:
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
__________________
-- You canīt escape muerto --
Muerto is offline   Reply With Quote
AdSense AdSense  
Advertisement:
Old 04 March 2007, 01:27   #2
Junior Member
 
Frog's Avatar
 
Join Date: Aug 2001
Location: France
Posts: 1,145
well i do a quick try, the following command works :
CLI>xfddecrunchaddr demo.exe newdemo.exe addhead=4 decraddr=3b000 jmpaddr=3B000
As mention, it simply add an header to the file demo.exe but didn't decrunch it.

i suggest to try xfddecrunch and use :
CLI>xfddecrunch demo.exe newdemo.exe LP
this time demo is decrunch and an header is add to the data file making it executable, xfddecrunch automatically add correct adress.
I guess it's what Sylvain want ?
Frog is offline   Reply With Quote
Old 04 March 2007, 03:34   #3
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 41
Posts: 339
ahah .. will try that. Thanks, Muerto, for asking here .

Sylvain
Asle is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +2. The time now is 02:00.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.
Page generated in 0.09184 seconds with 8 queries