From: Vincent R. <vin...@fr...> - 2025-01-08 01:34:35
|
On 07/01/2025 at 21:52, Eero Tamminen wrote: > Btw. Hatari Git version will automatically load symbols for TOS image, like > it already did for programs started from GEMDOS HD. Nice. > Only thing needed for that is symbols being in <image>.sym file in same dir > as corresponding TOS <image>.img. > > (This already works fine for EmuTOS releases providing the corresponding > *.sym files.) Good! > => Could those TOS address & symbol names be provided as Hatari (= nm > format) symbol files, along with checksums for matching original TOS images? Yes! This was one of the goals of such disassembly. To help people when debugging. And getting automatically the symbol names in Hatari is definitely convenient. I think that such labels could easily be exported with some Ghidra scripts. And for TOS 1.04+, Thorsten already has the address/label pairs. So I think that your proposition is completely good. Hatari could be distributed with the symbols (as external files) for all know TOS versions. And when detecting a know TOS version, load those symbols automatically. This couldn't be simpler for the users. -- Vincent Rivière |