![]() |
![]() |
#81 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
Analysis is very much pre-release WIP in 0.6.3. I've fixed a few bugs for the next release. I suspect on the version you are using the "Max address execute count" option is set low, so when you start analysis, the execution is halting in the first DBRA loop. The Options can be found in the collapsed Options node in the Analysis window. Set "Max address execute count" to zero, which means infinity. In the absence of good quality automated analysis... you have to disassemble manually: After preprocessing a file, I usually do a quick manual scan (eyeball) from top to bottom (use the scroll bar or Page Down key) to check for any obvious unidentified code blocks. Look for any big blue blocks of what looks like code but has not been identified. I sure sign is that the final word is $4e75 (machine code for RTS). If you find a label containing DC.Xs that looks suspiciously like code, then click or cursor to the label and hit Return/Enter, or equivalently right click on the label and choose "Select label (return)" from the context menu. This should display any references in the Cross References window. If you see something like BSR LAB_1234 listed, then you know the label should be code. Select it and hit C (or Main Menu > Edit > Convert to CODE, or right click context menu > same). If you hit C and it turns out not to be code, Undo to go back to the last good state. Regarding crashes: If you run AiraForce.exe from the command line, then after a crash you will hopefully see a meaningful error message. I've managed to manually disassemble this file on my end, so hopefully the bug you have encountered has been fixed already. I'll try to get another patch out soon. As an aside: I'm seeing a much larger reassembled file because it is adding symbols for all hunks. The Options > Reassembly > Symbols setting is getting automatically set - I'll change this behaviour. I would hope the reassembled file would run, but can't test right now. Thanks for your patience! |
|
![]() |
![]() |
#82 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 608
|
I understand it is WIP. I was only disassembling to make a video and perhaps provide some feedback and supporting the project in that way.
One concrete suggestion I would make is to perhaps have left cursor from a symbol either go to a single reference or pop up the cross references window, or something similar. I'll try again with a new version if it is useful and use your comments. |
![]() |
![]() |
#83 | ||
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
Quote:
Thanks to your feedback, I have fixed a focus issue so that when a label is selected, the Cross References window is displayed (brought to front) but the Navigation Window still has input focus. The left cursor key is mapped to navigate backwards. The logic is that after using G to go to a reference, the user often wants to go back to where they came from. EDIT: I'll add the Enter, < and > to the Main Menu Navigation menu. Last edited by hop; 15 June 2024 at 09:51. |
||
![]() |
![]() |
#84 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
I recorded a video of my disassembling Miniblaster using the latest Analysis code. This could also have been done manually, but identifying the system equates would have been a lot slower. [ Show youtube player ] |
|
![]() |
![]() |
#85 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,666
|
Hi hop,
I downloaded 0.6.3 win x64, unzipped it, ran it, and opened up our TTE 64k intro.. Didn't touch anything else but File->Open. Reassembling fails with "fatal error 13: could not open <C:\Users\xyz\Downloads\tte-circumvent-final> for input": Reassembling with VASM which seems odd to me as the path mentioned is a directory - or is that intended behavior? in the directory next to the intro executable is also TTE-Circumvent.{asm|bin|cnf} which was created when I opened the exe in Aira. |
![]() |
![]() |
#86 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
If not, I'll have to debug locally, but away from keyboard for 24 hours sorry. EDIT: I would expect the disassembly passed to vasm to have the .asm suffix. Not sure why it is missing. Usually source file is .exe or no suffix. Disassembled file is .asm. not sure why a directory rather than file path is generated in your case. What is the source file (executable) filename, including extension? Last edited by hop; 15 June 2024 at 16:57. |
|
![]() |
![]() |
#87 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,896
|
@hop dunno if already posted but might be interesting.
https://github.com/rolsen74/resrc4 |
![]() |
![]() |
#88 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
|
|
![]() |
![]() |
#89 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
|
|
![]() |
![]() |
#90 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,666
|
Username is find/replace, yes, but the original only contains 7 ascii letters.Using 0.6.4 gave slightly different results.. I put this version of Aira in a different (shorter) path, and the "creating process" for vasm now includes more of the correct source filename (.asm), so it seems the buffer for creating the arguments for vasm is too small or something like that.
|
![]() |
![]() |
#91 | |
Registered User
Join Date: Nov 2019
Location: Celle / Germany
Posts: 147
|
![]() Quote:
It still complains about a fail to open options file "AiraForceOptions.ini" in the AppData-path at startup, but the rest works now, thanks! |
|
![]() |
![]() |
#92 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Excellent. Hopefully the remaining error message is just because the ini file is not available on first boot. I'll check on that though.
|
![]() |
![]() |
#93 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
|
![]() |
![]() |
#94 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Version 0.7 now available to download
https://howprice.itch.io/aira-force/...-available-now Added support for jump tables, reduced iteration time and improved the analyser/debugger. |
![]() |
![]() |
#95 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,157
|
Thanks
![]() |
![]() |
![]() |
#96 |
Joy Division
Join Date: Nov 2006
Location: East Yorkshire
Age: 60
Posts: 244
|
Many thanks, hop.
|
![]() |
![]() |
#97 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Some users are reporting problems on Windows 10 with full screen and crashes when opening a file dialogue with File > Preprocess.
If anyone has any insight or crash dumps - please let me know! I suspect this may be related to desktop size or resolution vs window resolution. EDIT: This may be due to not having the *very* latest MSVC redistributables, but I hope I've patched it in Windows x64 build 0.7.3 (now on itch for download). Please let me know if this fixes it for you or if it is still broken. Last edited by hop; 20 June 2024 at 00:24. |
![]() |
![]() |
#98 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,896
|
@Hop, Aera Force give symbols errors on Archon 1 and 2 exe.
they contains a lot of symbols FYI. I have put the exe in the zone. |
![]() |
![]() |
#99 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
|
![]() |
![]() |
#100 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 278
|
Quote:
-ldotsoption (or - devpac) to allow this. I've made a quick patch, but don't have time to test it. Please find it in the zone AiraForce-0.7.4-alpha-win64.zip. If you could let me know how it goes that would be great thanks. EDIT: You will need to enable Main Menu > Options > Options... > Reassembly > -ldots |
|
![]() |
Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
Thread Tools | |
![]() |
||||
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 |
|
|