mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 19:30:56 +11:00
44403c3d4c
The way is clear for complete stage1 bootstrapping on the RC2014 target!
16 lines
311 B
Plaintext
16 lines
311 B
Plaintext
: [entry]
|
|
HERE @ ( w h )
|
|
SWAP SCPY ( h )
|
|
( Adjust HERE -1 because SCPY copies the null )
|
|
HERE @ 1- ( h h' )
|
|
DUP HERE ! ( h h' )
|
|
SWAP - ( sz )
|
|
( write prev value )
|
|
HERE @ CURRENT @ - ,
|
|
( write size )
|
|
C,
|
|
HERE @ CURRENT !
|
|
;
|
|
|
|
: (entry) WORD [entry] ;
|