1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 03:18:05 +11:00
collapseos/blk/421

17 lines
594 B
Plaintext
Raw Normal View History

2020-05-22 05:25:12 +10:00
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.)