openmsx debugger symbol files and slots / segments

Par h0ffman

Rookie (23)

Portrait de h0ffman

31-10-2021, 19:52

anybody know if its possible to pass in a symbol file to the openMsx debugger which also declares the slot and segment?

I'm doing a dissassmbly of a SCC MegaRom using IDA PRO and currently I convert the .map into a .sym which results in something like the below..

AttractModePlay: equ 0x47A1
GameMenuLogic: equ 0x47C1

I can't seem to work out or find any info on how to declare the slot and segment in the file? Any one have an example file?

!login ou Inscrivez-vous pour poster

Par Manuel

Ascended (18846)

Portrait de Manuel

31-10-2021, 21:18

The openMSX debugger's symbol manager only works with addresses, as far as I can tell.

Par salutte

Master (161)

Portrait de salutte

15-02-2022, 09:19

I would also be interested in a solution for this.

As far as I could find, there is some support for segments in the debugger (e.g., object Symbol has the field symSegments), but I don't see if this "symSegments" field is ever set.

Par Manuel

Ascended (18846)

Portrait de Manuel

15-02-2022, 22:26

Looks like the author (probably Edwin) was planning to add it, but it never ended up in the parser.
One could make a custom/extended parser and load the information, but I'm not sure it will already be correctly used then....