Enhanced forth memory space layout

This commit is contained in:
Jeremiah Orians 2016-11-19 12:41:34 -05:00
parent 5ed87d81af
commit 7fd82b8b67
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
2 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,8 @@
** Added ** Added
** Changed ** Changed
** Fixed ** Fixed
Fixed arrangement of spaces in forth to prevent the small input space bug
** Removed ** Removed
* 0.0.2 - 2016-11-01 * 0.0.2 - 2016-11-01

View File

@ -1,7 +1,8 @@
;; Memory Space ;; Memory Space
;; 0 -> 1MB code -> Heap space [Heap pointer with malloc function] ;; 0 -> 1MB code -> Heap space [Heap pointer with malloc function]
;; 1MB -> 1.5MB Stack space 1 (Value Stack) [Pointed at by R14] ;; 1MB -> 1.25MB Stack space 1 (Return Stack) [Pointed at by R15]
;; 1.5MB+ Stack space 2 (Return Stack) [Pointed at by R15] ;; 1.25MB -> 1.5MB Stack space 2 (Value Stack) [Pointed at by R14]
;; 1.5MB+ String Space
;; ;;
;; DICTIONARY ENTRY (HEADER) ;; DICTIONARY ENTRY (HEADER)
;; 0 -> Link (pointer to previous) ;; 0 -> Link (pointer to previous)
@ -51,10 +52,10 @@
:RETURN_BASE :RETURN_BASE
'00040000' '00040000'
:STRING_BASE :PARAMETER_BASE
'00050000' '00050000'
:PARAMETER_BASE :STRING_BASE
'00060000' '00060000'
;; The last function you'll ever need to run ;; The last function you'll ever need to run