mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 08:58:06 +11:00
44403c3d4c
The way is clear for complete stage1 bootstrapping on the RC2014 target!
12 lines
253 B
Plaintext
12 lines
253 B
Plaintext
( system c< simply reads source from binary, starting at
|
|
LATEST. Convenient way to bootstrap a new system. )
|
|
: (boot<)
|
|
( 2e == BOOT C< PTR )
|
|
0x2e RAM+ @ ( a )
|
|
DUP C@ ( a c )
|
|
SWAP 1 + ( c a+1 )
|
|
0x2e RAM+ ! ( c )
|
|
;
|
|
|
|
|