English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 05 April 2022, 21:55   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Automatic forward label creation in Resource?

Hi,
Is there a way to do automatic forward label creation in Resource to remove the Start+whatever in the code?
thx
kamelito is offline  
Old 05 April 2022, 22:04   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
You can create a macro that searches for START+ and executes LABELS/Create single/Label - fwd ref if found. I do not recommend doing this though, it's almost always better to manually check and fix the START+ references to obtain a good disassembly.
StingRay is offline  
Old 05 April 2022, 22:10   #3
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,957
Quote:
Originally Posted by kamelito View Post
Hi,
Is there a way to do automatic forward label creation in Resource to remove the Start+whatever in the code?
thx
Yes, F1 key? I dont remember exactly. But like StingRay say this is not recommended. Some/many wrong labels can be created, especially for binary files.
Don_Adan is offline  
Old 05 April 2022, 22:15   #4
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Thanks for your answer, I'm doing it manually but sometimes there's too many.
kamelito is offline  
Old 06 April 2022, 18:12   #5
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
It usually does it automatically. You might have to start disassemble a few times over and mark stuff as code or data, but it should sort itself out.
NorthWay is offline  
Old 06 April 2022, 19:17   #6
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
I tried that but it was a slow process
kamelito is offline  
Old 06 April 2022, 23:35   #7
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 839
How big is that program of yours then?
I just start at the top, disassemble, search for lumps of data that I suspect is code and try to convert it; if it is then disassemble again and repeat.
Next bit is to search for places with START references and back up to the beginning of that portion and mark as code, and disassemble again.
The START reference are just simply that it can't tie together the different code parts or that it is actually code that runs in a different segment, is a library/device, a separate task, or interrupt/supervisor code. The stray code outside of that generally falls into place once jumptables etc are marked and populated so that it knows where to continue and can mark it as code.
NorthWay 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
Differences betweed LEA label,Ax and MOVE.L #label.Ax KONEY Coders. Asm / Hardware 14 05 May 2021 19:53
Looking forward to the Vampire 4? Welshieinnz Amiga scene 406 31 January 2020 09:13
Maxon R.C.T. - Resource Creation Tool Etze request.Apps 4 19 August 2014 08:24
REQ: Automatic resolution change ; automatic resolution detection Borg_Number_One request.UAE Wishlist 3 21 August 2004 14:16

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 11:27.

Top

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