From 55253e1f322dc699f53ad45f8dd1bae282686953 Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Wed, 6 Aug 2003 06:58:52 +0000 Subject: [PATCH] Updated the memory map to reflect the circuitry --- ROM2/memory.x | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/ROM2/memory.x b/ROM2/memory.x index 53ab87c..3546f0a 100644 --- a/ROM2/memory.x +++ b/ROM2/memory.x @@ -1,31 +1,19 @@ /* 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) + Adapted for openvend by Bernard Blackham (dagobah@ucc.asn.au) -This file is part of GTAM. +The file was adapted from GTAM. 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 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 + page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x00ff /* 256 bytes internal RAM */ text (rx) : ORIGIN = 0x8000, LENGTH = 0x7fff - data (rw) : ORIGIN = 0x0100, LENGTH = 0x0fff /* FIXME */ + data (rw) : ORIGIN = 0x0800, LENGTH = 0x07ff /* 2k external SRAM */ } /* Setup the stack on the top of the data internal ram (not used). */ -- 2.20.1