2020-05-11 22:23:26 -04:00
|
|
|
Cross-compiled core
|
2020-04-23 15:14:14 -04:00
|
|
|
|
2020-05-11 22:23:26 -04:00
|
|
|
This units contains core Collapse OS that are cross-compiled.
|
|
|
|
During building, these come right after the boot binary (B280).
|
2020-04-23 15:14:14 -04:00
|
|
|
|
2020-05-11 22:23:26 -04: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-23 15:14:14 -04:00
|
|
|
|
2020-05-11 22:23:26 -04:00
|
|
|
1. It cannot compile a word from higher layers. Immediates are
|
|
|
|
fine.
|
2020-04-23 15:14:14 -04:00
|
|
|
|
|
|
|
(cont.)
|