2020-05-12 12:23:26 +10:00
|
|
|
Cross-compiled core
|
2020-04-24 05:14:14 +10:00
|
|
|
|
2020-05-12 12:23:26 +10:00
|
|
|
This units contains core Collapse OS that are cross-compiled.
|
|
|
|
During building, these come right after the boot binary (B280).
|
2020-04-24 05:14:14 +10:00
|
|
|
|
2020-05-12 12:23:26 +10:00
|
|
|
Because this unit is designed to be cross-compiled, things are
|
|
|
|
a little weird. It is compiling in the context of a full
|
|
|
|
Forth interpreter with all bells and whistles (and z80
|
|
|
|
assembler), but it has to obey strict rules:
|
2020-04-24 05:14:14 +10:00
|
|
|
|
2020-05-12 12:23:26 +10:00
|
|
|
1. It cannot compile a word from higher layers. Immediates are
|
|
|
|
fine.
|
2020-04-24 05:14:14 +10:00
|
|
|
|
|
|
|
(cont.)
|