22 June 2024, 10:15 | #101 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
@hop it did the tricks thanks
|
22 June 2024, 10:54 | #102 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
|
22 June 2024, 11:18 | #103 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
@hop show in memory 1 doesn’t seems to work properly. I have values (dc.l) and when I look at the memory window 1, I see 0 (zeroes)
Last edited by kamelito; 22 June 2024 at 11:36. |
22 June 2024, 11:39 | #104 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
Quote:
Bring up the CPU window and single step using F11 or the button in the Analysis window. You can set Breakpoints with F9 to get to where you need to be, or even manually set the PC to cursor to test a specific instruction in isolation. Unfortunately there is not yet a UI to change register values. If this doesn't help then I can try to debug here if you can provide me with a specific example. |
|
22 June 2024, 23:43 | #105 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
I may have not understood how it works.
The disassembly of the code say is at address x, so in x there is the code, I right clicked selected show in memory 1 the memory show the addresses range of the code but it’s all zeroes. |
23 June 2024, 09:02 | #106 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
The program is not copied ("loaded") into memory until analysis is started. Easiest way is to press F11 once. This will copy the program into memory, and set CPU initial state. You will then see the machine code from the disassembly (and source file) in memory.
|
23 June 2024, 22:52 | #107 | |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
Quote:
I guess that it is not possible in a loop like that to exit for now so that code analysis could continue? Update : I suppose that I need to use end path. Last edited by kamelito; 23 June 2024 at 22:58. |
|
23 June 2024, 23:17 | #108 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
Frontier exe CD32 I got the error below when doing the analysis.
Why is memory limited to 512k? ERROR: Load data of size 000C5918 bytes to address range [00000000, 000C5918] exceeds memory size 00080000 bytes ERROR: Failed to load relocated binary D:\Users\kamel\OneDrive\Bureau\Frontier.bin into memory at address 00000000 ERROR: Failed to load code into memory ERROR: Failed to initialise analysis |
24 June 2024, 00:31 | #109 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
I suppose that most program that does have code section are mostly code and data data’s.
In my opinion Ira should set the code type to section type by default that would led to a Lot less manual actions. Dis does a lot better job for now than Ira. |
24 June 2024, 09:39 | #110 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
Quote:
I'm far from proud of the state the analysis is in. It should be a single click and finished. I'll keep improving it. End Path is your friend for now. I added a fake beam counter because it was such a common CPU busy wait case. Memory size can be increased to 2 MB in the Amiga Window. I'll update the error message you encountered to make the user aware of it. I have thought about ending traversal if the PC jumps into a DATA or BSS section. However, the 68000 has no memory manager or protection, so it is perfectly legal to execute code from anywhere in memory. I suspect this is quite common, especially for unpackers. Apologies if I have misunderstood you here. Last edited by hop; 24 June 2024 at 16:14. |
|
24 June 2024, 11:18 | #111 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
In Archon which I believe has been programmed using early Aztec C, all code sections are code but it is in data type when loaded in Aira Force not code so it is a lot of manual actions to do instead of just having the tool doing it right away like Dis does it for example and probably Resource.
|
24 June 2024, 16:35 | #112 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
Quote:
The Find Code and Analysis tools are designed to help out a bit here. |
|
24 June 2024, 20:18 | #113 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
@hop I know I just say Aira Force because we’re on it’s thread. No criticism here Aira Force is great tool.
|
27 June 2024, 12:43 | #114 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
Thanks for making me aware of this problem. I've just released version 0.7.4 which supports dots within label names, as well as more general local label support.
More details here: https://howprice.itch.io/aira-force/...-label-support |
28 June 2024, 11:58 | #115 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
I’m on windows build 22631 and the error message failed to initialize OpenGL loader and opengl3 is back
|
28 June 2024, 12:09 | #116 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
Quote:
|
|
28 June 2024, 13:28 | #117 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
Sadly still the same, I suppose that either windows did change something that broke it or the new gfx driver
|
28 June 2024, 14:32 | #118 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 255
|
|
28 June 2024, 15:17 | #119 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
I think that I will ditch windows this weekend and try ElemataryOS distribution.
update I downloaded the latest AMD Adrenaline drivers from yesterday, I installed them and checked the reset option and it fixed the opengl issue Installation without the reset didn't fixed it, before doing this I uninstalled the driver from device manager. Last edited by kamelito; 28 June 2024 at 23:25. |
Yesterday, 00:11 | #120 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,855
|
@hop, see in the zone file archon2-airaforce.png
there is a bsr.w _adj_void but this label is in a data section where there is no code so reassembling failed. Probably an IRA problem? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interactive symbolic bitop calculator | paraj | Coders. Asm / Hardware | 2 | 07 May 2017 22:13 |
What was that interactive interview with the Sensible Software team? | Mark_C | Nostalgia & memories | 1 | 10 June 2004 03:38 |
Amiga Interactive Guide gets a facelift... | Amiga1992 | Amiga websites reviews | 5 | 22 March 2003 18:50 |
Amiga Interactive Guide | Twistin'Ghost | Amiga websites reviews | 0 | 13 July 2002 13:05 |
Nightbreed Interactive Movie | Steve | support.Games | 19 | 04 October 2001 18:43 |
|
|