02 July 2024, 00:04 | #161 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,552
|
Quote:
In most cases executables have neither symbols nor empty sections. And then you still have the SECSTRT_nlabel. At the end of the day I had to realise that I still cannot determine if a label should be generated for the empty section or the following section, because the offset is identical. Label-generation is triggered by offsets stored in the ira->LabelAdr2[]array. And its index ( p2labind) will be incremented as long as the current offset matches. Nothing is impossible, and I might have another look this week, but I fear the solution of this problem would need much bigger modifications. |
|
02 July 2024, 11:28 | #162 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,863
|
Dunno how often but as it has been generated by an old C compiler it could be seen elsewhere I guess.
|
02 July 2024, 11:41 | #163 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 261
|
Quote:
Would it be possible to add another array alongside ira->LabelAdr2[]of equal size called something like ira->LabelHunkIndex[]? The elements would default to -1 (unknown hunk) but when symbols are added from a HUNK_SYMBOLit could be set to a valid value. Then this could be read in WriteSection Last edited by hop; 02 July 2024 at 11:44. Reason: typo, correction |
|
02 July 2024, 11:43 | #164 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,863
|
There is many games and some apps that contains symbols.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ira for Windows | jotd | Coders. General | 63 | 12 December 2023 10:53 |
New tutorial on sprites | Yragael | Coders. Tutorials | 8 | 04 September 2023 21:00 |
Debugging messages in serial (small tutorial, mainly for cross-dev) | alkis | Coders. Asm / Hardware | 7 | 22 February 2016 14:16 |
68020 to 68000 code convertion using Ira and PhxAss | gulliver | Coders. Asm / Hardware | 18 | 12 April 2014 01:09 |
Looking for IRA v1.07 or newer :-) | voxel | request.Apps | 7 | 30 July 2008 01:39 |
|
|