This website works better with JavaScript.
首頁
探索
lain.church
說明
註冊
登入
izaya
/
collapseos
镜像来自
https://github.com/hsoft/collapseos.git
關註
1
收藏
1
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
forth: Forth-ify "C,"
pull/95/head
Virgil Dupras
4 年之前
父節點
29dcddb8cd
當前提交
26871be6f2
共有
3 個文件被更改
,包括
8 次插入
和
17 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
二進制
emul/forth/z80c.bin
+2
-16
forth/forth.asm
+6
-1
forth/icore.fs
二進制
emul/forth/z80c.bin
查看文件
+ 2
- 16
forth/forth.asm
查看文件
@@ -720,24 +720,10 @@ EMIT:
.dw EXIT
.fill 49
.db "C,"
.dw $-EMIT
.db 2
CWR:
.dw nativeWord
pop de
call chkPS
ld hl, (HERE)
ld (hl), e
inc hl
ld (HERE), hl
jp next
.fill 71
.db ","
.dw $-
CWR
.dw $-EMIT
.db 1
WR:
.dw nativeWord
+ 6
- 1
forth/icore.fs
查看文件
@@ -81,6 +81,11 @@
AGAIN
;
: C,
HERE @ _c C!
HERE @ 1 + HERE !
;
: (entry)
HERE @ ( h )
WORD ( h s )
@@ -92,7 +97,7 @@
( write prev value )
HERE @ CURRENT @ _c - ,
( write size )
C,
_c
C,
HERE @ CURRENT !
;
Write
Preview
Loading…
取消
儲存