浏览代码

Fix typo in shell's emul{Get,Put}C

pull/71/head
Virgil Dupras 4 年前
父节点
当前提交
a86234c87e
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +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, emulGetB
ld de, emulPutB
ld hl, emulGetC
ld de, emulPutC
call stdioInit
call fsInit
ld a, 0 ; select fsdev
@@ -97,13 +97,13 @@ init:
ld (SHELL_CMDHOOK), hl
jp shellLoop

emulGetB:
emulGetC:
; Blocks until a char is returned
in a, (STDIO_PORT)
cp a ; ensure Z
ret

emulPutB:
emulPutC:
out (STDIO_PORT), a
ret



正在加载...
取消
保存