3546f0ae867096977149d3bbbbe756e3a0ceacd4
[uccvend-snackrom.git] / ROM2 / memory.x
1 /* memory.x -- Memory definition for a 68HC11 program in EEPROM (512 bytes)
2    Copyright 2001 Free Software Foundation, Inc.
3    Written by Stephane Carrez ([email protected])
4    Adapted for openvend by Bernard Blackham ([email protected])
5
6 The file was adapted from GTAM. You can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free Software
8 Foundation; either version 2, or (at your option) any later version.
9
10 */
11
12 MEMORY
13 {
14   page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x00ff /* 256 bytes internal RAM */
15   text  (rx)  : ORIGIN = 0x8000, LENGTH = 0x7fff
16   data  (rw)  : ORIGIN = 0x0800, LENGTH = 0x07ff /* 2k external SRAM */
17 }
18
19 /* Setup the stack on the top of the data internal ram (not used).  */
20 PROVIDE (_stack = 0x0100-1);

UCC git Repository :: git.ucc.asn.au