emul: merge pre.fs and emul.fs into stage1.fs

This commit is contained in:
Virgil Dupras 2020-04-25 22:45:53 -04:00
parent bc3aabc84e
commit 898684a795
3 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,7 @@ $(BLKUNPACK): $(BLKPACK)
# binary that should be updated manually through make updatebootstrap.
forth0.bin:
cp z80c.bin $@
cat pre.fs emul.fs >> $@
cat stage1.fs >> $@
forth0-bin.h: forth0.bin $(BIN2C)
$(BIN2C) KERNEL < forth0.bin | tee $@ > /dev/null

View File

@ -1,2 +0,0 @@
CURRENT @ HERE !

View File

@ -1,3 +1,4 @@
CURRENT @ HERE !
HERE @ 256 /MOD 2 PC! 2 PC!
: EMIT 0 PC! ;
: KEY 0 PC@ ;