Subversion Repositories svnkaklik

Rev

Rev 409 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
6 kaklik 1
/* This is a linker parameter file for the QG8 */
2
 
3
NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */
4
 
5
SEGMENTS /* Here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
6
      ROM                    =  READ_ONLY    0xE000 TO 0xFFAF;
7
      Z_RAM                  =  READ_WRITE   0x0060 TO 0x00FF;
8
      RAM                    =  READ_WRITE   0x0100 TO 0x025F;
9
      ROM1                   =  READ_ONLY    0xFFC0 TO 0xFFCF;
10
END
11
 
12
PLACEMENT /* Here all predefined and user segments are placed into the SEGMENTS defined above. */
13
      DEFAULT_RAM                       INTO  RAM;
14
      _DATA_ZEROPAGE, MY_ZEROPAGE       INTO  Z_RAM;
15
      DEFAULT_ROM, ROM_VAR, STRINGS     INTO  ROM; /*,ROM1*/ /* in case you want to use ROM1 here as well, add option -OnB=b to the compiler. */
16
END
17
 
18
STACKSIZE 0x50
19
 
20
VECTOR 0 _Startup /* Reset vector: this is the default entry point for a C/C++ application. */
21
//VECTOR 0 Entry  /* Reset vector: this is the default entry point for an Assembly application. */
22
//INIT Entry      /* For assembly applications: that this is as well the initialization entry point */