Enhanced forth memory space layout
This commit is contained in:
parent
5ed87d81af
commit
7fd82b8b67
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue