From: Bernard Blackham Date: Fri, 15 Aug 2003 17:10:38 +0000 (+0000) Subject: Off-by-one errors X-Git-Tag: ROMW~56 X-Git-Url: https://git.ucc.asn.au/?p=uccvend-snackrom.git;a=commitdiff_plain;h=0435cdd3595f95218f4518885cc5384e9bdc9672 Off-by-one errors --- diff --git a/ROM2/memory.x b/ROM2/memory.x index f33b3a8..bb70544 100644 --- a/ROM2/memory.x +++ b/ROM2/memory.x @@ -1,9 +1,9 @@ MEMORY { /* we squeeze both page0 and data into the internal 256 bytes of RAM */ - page0 (rwx) : ORIGIN = 0x0000, LENGTH = 0x007f - data (rw) : ORIGIN = 0x0080, LENGTH = 0x007f - text (rx) : ORIGIN = 0x8000, LENGTH = 0x7fff + 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). */