mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 20:18:06 +11:00
94cb76520a
Previously, it was impossible to cross-compile Collapse OS from a binary-offsetted Collapse OS because stable ABI wordrefs would have a wrongly offsetted address. This solves the problem by replacing those wordrefs by direct, hardcoded stable ABI offset references.
11 lines
287 B
Plaintext
11 lines
287 B
Plaintext
( ';' can't have its name right away because, when created, it
|
|
is not an IMMEDIATE yet and will not be treated properly by
|
|
xcomp. )
|
|
: _
|
|
0x42 ( EXIT ) ,
|
|
R> DROP ( exit : )
|
|
; IMMEDIATE
|
|
';' X' _ 4 - C! ( give ; its name )
|
|
':' X' _ 4 - C! ( give : its name )
|
|
'(' X' _ 4 - C!
|