소스 검색

forth: don't use "(entry)" in dummy.fs

Because icore.fs defines it in a "not-for-runtime" manner, dummy.fs
executing it had ill effects. We use a workaround instead.
pull/95/head
Virgil Dupras 4 년 전
부모
커밋
41cd8086d4
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      forth/dummy.fs

+ 4
- 2
forth/dummy.fs 파일 보기

@@ -1,7 +1,9 @@
( When building a compiled dict, always include this unit at
the end of it so that Forth knows how to hook LATEST into
it )
(entry) _
it. We don't use the word "(entry)" to avoid messing up
with icore setup. )
CREATE _
H@ 2 - HERE !

( After each dummy word like this, we poke IO port 2 with our
current HERE value. The staging executable needs it to know


불러오는 중...
취소
저장