home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / DOS / Programa / CCDL122.ZIP / EXAMP / EXAMP.SPC < prev    next >
Encoding:
Text File  |  1996-06-17  |  582 b   |  20 lines

  1. /* Puts the code in an overlay called ROM and origins at address $18000000*/
  2. partition {
  3.     overlay {
  4.         region {} startup; /* Startup code comes first */
  5.         region {} code;
  6.     } ROM;                 
  7. } a [ADDR=$18000000];
  8.  
  9. /* Puts the data in an overlay called RAM and origins at address $1000 */
  10. /* Defines an external DATA that points to the data */
  11. /* Defines the data size as $2000 and sets an external STACKTOP at the top of
  12.  * the data area */
  13. partition {
  14.     overlay {
  15.         DATA = $;
  16.         region {} data;
  17.         region {} bss;
  18.         STACKTOP = $;
  19.     } RAM;
  20. } b [ADDR=$1000,size = $2000];