Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » 6502bench SourceGen disassembler updated
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 6502bench SourceGen disassembler updated [message #387906 is a reply to message #387903] Sun, 20 October 2019 15:36 Go to previous messageGo to previous message
Anonymous
Karma:
Originally posted by: James Davis

On Sunday, October 20, 2019 at 7:51:07 AM UTC-7, fadden wrote:
> On Saturday, October 19, 2019 at 10:47:42 PM UTC-7, James Davis wrote:
>> Is there a way to make all symbols/labels global and exported, easily, all at once?
>>
>> I have enhanced several of the sym65 files via text editor, but is there a way to tell SourceGen to make the symbols global and exported from the sym65 file?
>
> The idea behind an exported symbol is that it's available to import into other projects. All symbols in a .sym65 file are global and exported: external address symbols are inherently global, and you can import them into any project by including the file.
>

How do I include the file?

When I try to import my "APPLE2.ROM.dis65"* (Apple II Plus ROM Disassembly) into another (new) project, it says there are no exported symbols [except for the few individual symbols that I have since {miraculously** (see below)} made 'global and exported' from within SourceGen].

[* It uses my {highly commented} "Apple2Plus_UC.sym65" (Apple II Plus ROM Symbols) file that is in the project folder.]

> The symbol files can live in the RuntimeData directory for system-level stuff, or in the project directory, so you can create your own versions and keep them with the project file. The order in which the files are included is significant, meaning you can replace the "built in" definitions with your own and distribute the changes with your project. (You can see an example in Examples/A2-Amper-fdraw, which has a .sym65 for the fdraw library entry points.)
>
>> Every once in a while I come across the means to do it for individual labels in SourceGen, but most of the time I can never find the property page that allows setting a symbol/label to global and exported. Where is it?
>
> You can set it when editing an address label (double-click on a label).
>

This option is rarely there/available in my version of SourceGen! [** I think it is a miracle when it shows up!]

> Currently the "export" flag has two uses: (1) exported symbols show up in the HTML dump; (2) you can import one project's external symbols into another project as a crude way to do multi-binary disassembly. Are you doing one of these things, or something else? (If it's #1, it would be far easier to add an "include all global symbols". Then you could just turn off the label localizer to include everything.)

Number (2); see replies above.

What do you mean by, "multi-binary disassembly"?

How do I 'add an "include all global symbols"'? Where and to what?
[I think you mean: During setup for HTML/text output of a listing (?).]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Asimov FTP anonymous login
Next Topic: new apple2 demos/game
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 18:02:49 EDT 2024

Total time taken to generate the page: 0.00505 seconds