本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
lain.church
說明
註冊
登入
izaya
/
collapseos
镜像来自
https://github.com/hsoft/collapseos.git
關注
1
收藏
1
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
Fix typo in shell's emul{Get,Put}C
pull/71/head
Virgil Dupras
4 年之前
父節點
1f26879cd3
當前提交
a86234c87e
共有
1 個檔案被更改
,包括
4 行新增
和
4 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
tools/emul/shell/shell_.asm
+ 4
- 4
tools/emul/shell/shell_.asm
查看文件
@@ -84,8 +84,8 @@ init:
; setup stack
ld hl, KERNEL_RAMEND
ld sp, hl
ld hl, emulGet
B
ld de, emulPut
B
ld hl, emulGet
C
ld de, emulPut
C
call stdioInit
call fsInit
ld a, 0 ; select fsdev
@@ -97,13 +97,13 @@ init:
ld (SHELL_CMDHOOK), hl
jp shellLoop
emulGet
B
:
emulGet
C
:
; Blocks until a char is returned
in a, (STDIO_PORT)
cp a ; ensure Z
ret
emulPut
B
:
emulPut
C
:
out (STDIO_PORT), a
ret
Write
Preview
Loading…
取消
儲存