← Back to team overview

gnusim8085-devel team mailing list archive

[Bug 579325] Re: ORG operator

 

Personally, my own suggestion would be to completely remove the "Load me
at" feature from the GUI - it is a potential UI issue, especially once
this is being used in examples: source code should always be self-
contained, and it shouldn't require "configuration" whenever possible:

Just imagine for a second a program that is related to ISR programming
or other code that makes use of custom start addresses (offsets), for
such examples to work properly with this GUI element, the user would
need to be asked to set up the "Load me at" field properly. Possibly by
adding corresponding comments to the code.

That's tedious, at best....

It would be MUCH cleaner to support the "ORG" directive and then add
these statements to all samples accordingly.

If a program needs to be loaded at a certain address, this really
shouldn't be set up externally, but directly within the source code.

This is the cleanest solution, just consider the possible pitfalls for
other efforts like this one:
https://bugs.launchpad.net/gnusim8085/+bug/579362

-- 
ORG operator
https://bugs.launchpad.net/bugs/579325
You received this bug notification because you are a member of
GNUSim8085 developers, which is subscribed to gnusim8085.

Status in gnusim8085: New

Bug description:
We need an ORG operator for Gnusim. Often, different parts of a program need to be loaded at different addresses: for example an interrupt handler would be loaded at a different address from the main program. Currently this is not possible.

 This directive should be quite easy to implement - since it is already implemented as an interactive command.

 Thanks
      Dinesh