some more random reverse engineering never committed.
[uccvend-snackrom.git] / ROM2 / memory.x
index 267c073..f1127cf 100644 (file)
@@ -1,20 +1,10 @@
-/* memory.x -- Memory definition for a 68HC11 program in EEPROM (512 bytes)
-   Copyright 2001 Free Software Foundation, Inc.
-   Written by Stephane Carrez ([email protected])
-   Adapted for openvend by Bernard Blackham ([email protected])
-
-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.
-
-*/
-
 MEMORY
-{
-  page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x00ff /* 256 bytes internal RAM */
-  text  (rx)  : ORIGIN = 0x8000, LENGTH = 0x7fff
-  data  (rw)  : ORIGIN = 0x0800, LENGTH = 0x07ff /* 2k external SRAM FIXME - dont want to use this */
+{ /* 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
+  eeprom(rwx) : ORIGIN = 0xb600, LENGTH = 0x0020
 }
 
 /* Setup the stack on the top of the data internal ram (not used).  */
-PROVIDE (_stack = 0x0100-1);
+PROVIDE (_stack = 0x007f);

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