English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 09 March 2016, 22:14   #1
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
asm routine to reloc amiga executable

Hi,

I know this is a lot to ask but

Anyone has a ready-to-use asm routine that takes in input an executable image (no overlays!!) and relocates it over itself?

I'd like to replace the one I'm using in CD32load because it is buggy.
jotd is offline  
Old 09 March 2016, 23:59   #2
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Try the attachment, i've used it since 1993 with no issues, and I used it on commercially released titles as well
Attached Files
File Type: s AmigaEXE_Relocate.s (811 Bytes, 192 views)

Last edited by Galahad/FLT; 10 March 2016 at 00:17.
Galahad/FLT is offline  
Old 10 March 2016, 06:46   #3
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,164
thanks man!!
Wew the code is really short. I'm not sure that it can relocate more that 1 section right?
But I prefer that to my currently bloated code which I don't understand fully and which has strange bugs.
I'll have to adapt it anyway because of whdload relocate tags (alignment, ...) so this is cool.

Last edited by jotd; 10 March 2016 at 07:53.
jotd is offline  
Old 10 March 2016, 19:24   #4
mr.spiv
Registered User
 
mr.spiv's Avatar
 
Join Date: Aug 2006
Location: Finland
Age: 51
Posts: 241
There were ton of tiny reloc routines in various exe-decrunchers.. I would 'borrow' one of those
mr.spiv 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
Tool to convert asm to gnu asm (gas) Asman Coders. Asm / Hardware 13 30 December 2020 11:57
Asm-One and Amiga Forever chroma123 Coders. Asm / Hardware 14 12 March 2017 02:02
Error "No object" generating executable from ASM-One 1.20 nandius_c Coders. Asm / Hardware 12 30 October 2013 10:28
(ASM) Looking for TFMX replay routine Asman Coders. General 3 21 May 2009 14:26
Understanding ASM Routine Crackersixx Coders. Tutorials 13 10 February 2006 02:58

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 17:06.

Top

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