From 614748a00b6fd4f039e63a6406535aaa49acd095 Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Sat, 19 Nov 2016 13:45:14 -0500 Subject: [PATCH] Tweaked parameters to match possible heap usage and better fix 2MB environments --- stage2/forth.s | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/stage2/forth.s b/stage2/forth.s index 69b33ad..f519df7 100644 --- a/stage2/forth.s +++ b/stage2/forth.s @@ -1,8 +1,8 @@ ;; Memory Space - ;; 0 -> 1MB code -> Heap space [Heap pointer with malloc function] - ;; 1MB -> 1.25MB Stack space 1 (Return Stack) [Pointed at by R15] - ;; 1.25MB -> 1.5MB Stack space 2 (Value Stack) [Pointed at by R14] - ;; 1.5MB+ String Space + ;; 0 -> 512KB code -> Heap space [Heap pointer with malloc function] + ;; 512KB -> 576KB Stack space 1 (Return Stack) [Pointed at by R15] + ;; 576MB -> 640KB Stack space 2 (Value Stack) [Pointed at by R14] + ;; 640KB+ String Space ;; ;; DICTIONARY ENTRY (HEADER) ;; 0 -> Link (pointer to previous) @@ -50,13 +50,13 @@ &Quit_Code :RETURN_BASE -'00040000' +'00080000' :PARAMETER_BASE -'00050000' +'00090000' :STRING_BASE -'00060000' +'000A0000' ;; The last function you'll ever need to run ;; HALT