--- gforth/cross.fs 1998/12/11 22:54:26 1.59 +++ gforth/cross.fs 1998/12/22 15:18:50 1.62 @@ -1954,10 +1954,14 @@ previous \ save-cross 17mar93py >CROSS -Create magic s" Gforth10" here over allot swap move +Create magic s" Gforth2x" here over allot swap move -char 1 bigendian + tcell + magic 7 + c! -char 0 tchar + magic 6 + c! +bigendian +tcell 1 = 0 and +tcell 2 = 2 and or +tcell 4 = 4 and or +tcell 8 = 6 and or +magic 7 + c! : save-cross ( "image-name" "binary-name" -- ) bl parse ." Saving to " 2dup type cr @@ -2007,7 +2011,8 @@ bigendian Constant bigendian : tempdp> tempdp> ; : const constflag on ; : warnings name 3 = 0= twarnings ! drop ; -: | NoHeaderFlag on ; +: | ; +\ : | NoHeaderFlag on ; \ This is broken (damages the last word) : save-cross save-cross ; : save-region save-region ;