X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fmemory.x;h=e983e0c383fb7baac95bf55324a1e5a7cd6cf7c8;hb=2f0efd60475ee16d3c1284f9f9691b7740aa168d;hp=53ab87c116fc3dbd748dc436c0c60cf3164a610a;hpb=5e3c2f43539caefc1b99eedc491dde9e31e61c9e;p=uccvend-snackrom.git diff --git a/ROM2/memory.x b/ROM2/memory.x index 53ab87c..e983e0c 100644 --- a/ROM2/memory.x +++ b/ROM2/memory.x @@ -1,32 +1,10 @@ -/* memory.x -- Memory definition for a 68HC11 program in EEPROM (512 bytes) - Copyright 2001 Free Software Foundation, Inc. - Written by Stephane Carrez (stcarrez@worldnet.fr) - -This file is part of GTAM. - -GTAM is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GTAM is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GTAM; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* Defines the memory layout for a bootstrap program. - Pretend there is no data section. */ MEMORY { - page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x00ff - text (rx) : ORIGIN = 0x8000, LENGTH = 0x7fff - data (rw) : ORIGIN = 0x0100, LENGTH = 0x0fff /* FIXME */ + /* we squeeze both page0 and data into the internal 256 bytes of RAM */ + page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x0080 + data (rw) : ORIGIN = 0x0080, LENGTH = 0x0080 + text (rx) : ORIGIN = 0x8000, LENGTH = 0x8000 } /* Setup the stack on the top of the data internal ram (not used). */ -PROVIDE (_stack = 0x0100-1); +PROVIDE (_stack = 0x007f);