English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 03 March 2007, 20:15   #1
Muerto
Registered User
 
Muerto's Avatar
 
Join Date: Dec 2005
Location: Kerteminde / Denmark
Age: 48
Posts: 146
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
Muerto is offline  
Old 04 March 2007, 01:27   #2
Frog
Junior Member
 
Frog's Avatar
 
Join Date: Aug 2001
Location: France
Posts: 1,385
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  
Old 04 March 2007, 03:34   #3
Asle
Registered User
 
Join Date: May 2006
Location: Paris/France
Age: 52
Posts: 527
ahah .. will try that. Thanks, Muerto, for asking here .

Sylvain
Asle is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
UAE XFD wrapper (beta) Toni Wilen Amiga scene 9 06 July 2022 12:14
BZIP2 for XFD pintcat request.Apps 5 28 August 2011 15:54
Xfd Gui zenox98 request.Apps 10 13 February 2011 05:30
XFD decompression on PC mokster support.Other 10 06 August 2010 13:50

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

Forum Jump


All times are GMT +2. The time now is 16:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.21734 seconds with 15 queries