Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/06/01 08:16
Read: times


 
#10642 - Keil: Windows vs. command line
Hi Andres,

I assume, you are a Windows fan.
So you use a complicated Windows IDE, which hide in some of the thousand menu points the settings for the start address. Then you must search around all options and replace any 4000h with 0000h.

I use the opposite way and use it always in a DOS box on the command line. Then I have exactly the control, which switches are given for the compiler, assembler and linker.

Its for me the most time saving and grey hairs avoiding method.
But it need to read first the handbook to understand, which switches must be given on the command line and what was the working.

It seems, Windows IDE was a black box, which consume many time for trial and error.
And DOS open the box and allow easy to change something, but you must know, what you do. This is, what the compiler and linker handbook was for.
Also, if you found all right settings, write a batch for this project.
E.g. I named it C.BAT, so pressing C start the complete compile process.


A hint:
The "CSEG AT 00H" instruction in your source file override the linker relocation process. So removing of "RSEG PROGRAM" should work.
All fixed adresses in the source code can no longer be relocated by the linker.


Peter


List of 17 messages in thread
TopicAuthorDate
Really unusual!!!!!            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: MY TEST PROGRAM...            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: Really unusual!!!!!            01/01/70 00:00      
RE: MY TEST PROGRAM...            01/01/70 00:00      
Keil: Windows vs. command line            01/01/70 00:00      
RE: Keil: Windows vs. command line            01/01/70 00:00      
RE: Keil: Windows vs. command line            01/01/70 00:00      
STILL NOT WORKING            01/01/70 00:00      
I've got it !!!!!!!!!!!!!!            01/01/70 00:00      
RE: Keil: Windows vs. command line            01/01/70 00:00      
RE: Keil: Windows vs. command line            01/01/70 00:00      

Back to Subject List