Page 1 of 1

Assembler Symbols for Basic & Kernal ROMs

Posted: Thu Oct 05, 2023 11:15 pm
by Martin Schmalenbach
Hi

Is there a text file somewhere I can make use of that contains all the symbols and associated values & addresses of the various labels used in the ROM disassemblies?

I’d like to build this symbol data in to my assembler / disassembler app.

Cheers

Martin

Re: Assembler Symbols for Basic & Kernal ROMs

Posted: Fri Oct 06, 2023 10:31 am
by Stefan
.sym files are generated if you build the Kernal project yourself.

Re: Assembler Symbols for Basic & Kernal ROMs

Posted: Sat Oct 07, 2023 2:11 pm
by Martin Schmalenbach
Thank you.

I was rather hoping not to have to go through the pain of installing the tool chain and making sure it is working, then build the entire ROM binary correctly in order to get hold of data or a file that must surely already exist somewhere given that the ROM code has already been built.

Re: Assembler Symbols for Basic & Kernal ROMs

Posted: Sat Oct 07, 2023 2:46 pm
by Stefan
Currently the .sym files are not part of the git repository.

They could be, but they are very volatile, basically changing on every commit.

Wouldn’t it be even more pain pairing pre-built .sym files to different Kernal versions?

Re: Assembler Symbols for Basic & Kernal ROMs

Posted: Sat Oct 07, 2023 5:18 pm
by Martin Schmalenbach
It would be a pain, as you suggest.

And the .sym files for a released version of the ROMs are, by definition, fixed. That’s what I’m after.

Re: Assembler Symbols for Basic & Kernal ROMs

Posted: Mon Oct 09, 2023 10:14 pm
by kelli217
Look in the ZIP file that contains the emulator.

Re: Assembler Symbols for Basic & Kernal ROMs

Posted: Wed Oct 11, 2023 7:36 pm
by Martin Schmalenbach
kelli217 wrote: Mon Oct 09, 2023 10:14 pm Look in the ZIP file that contains the emulator.
Perfect - exactly what I was looking for - thank you!!