We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to put a copyright message into the ROM. How do I make the linker locate it immediately after the interrupt vectors? Thanx, Erik
Here is an example of placing the copyright in Main.c.
code char Copyright[] = "Copyright"; void main( void ) { code char *Dummy = Copyright; //this stops linking warnings }
Thanx, but how to do in a DOS command file ? in advance thanks, Erik
If you have uVision, it shows you the corresponding command line at the bottom of each options page; otherwise, you'll just have to read-up that manual. Have fun!
I forgot: uVision creates a .lnp linker command file. So you could do a "dummy" buid with uVision, and then keep the .lnp file for use in your MS-DOS build? Or just run uVision "non-interactively" from the command line to build your project?