mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-21 00:18:06 +11:00
17 lines
594 B
Plaintext
17 lines
594 B
Plaintext
|
5. Core words (high)
|
||
|
|
||
|
Boot code (B280)
|
||
|
|
||
|
This part contains core routines that underpins Forth fundamen-
|
||
|
tal structures: dict navigation and search, PSP/RSP bounds
|
||
|
checks, word types (atom, native, literals, "does type"), etc.
|
||
|
|
||
|
It also of course does core initialization: set RSP/PSP, HERE
|
||
|
CURRENT, then find BOOT and call it (see B89).
|
||
|
|
||
|
It also contains what we call the "stable ABI" in its first
|
||
|
0x100 bytes. The beginning og the dict is intertwined in this
|
||
|
layer because EXIT, (br), (?br) and (loop) are part of the
|
||
|
stable ABI.
|
||
|
(cont.)
|