mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 17:40:56 +11:00
fc67b88720
I have a working offset-by-0x100 stage0 now.
10 lines
203 B
Plaintext
10 lines
203 B
Plaintext
: THEN,
|
|
DUP PC ( l l pc )
|
|
-^ 1- ( l off )
|
|
( warning: l is a PC offset, not a mem addr! )
|
|
SWAP ORG @ + BIN( @ - ( off addr )
|
|
C!
|
|
;
|
|
: FWR BSET 0 A, ;
|
|
: FSET @ THEN, ;
|