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

This commit is contained in:
Virgil Dupras 2019-10-31 18:49:02 -04:00
parent 1f26879cd3
commit a86234c87e

View File

@ -84,8 +84,8 @@ init:
; setup stack ; setup stack
ld hl, KERNEL_RAMEND ld hl, KERNEL_RAMEND
ld sp, hl ld sp, hl
ld hl, emulGetB ld hl, emulGetC
ld de, emulPutB ld de, emulPutC
call stdioInit call stdioInit
call fsInit call fsInit
ld a, 0 ; select fsdev ld a, 0 ; select fsdev
@ -97,13 +97,13 @@ init:
ld (SHELL_CMDHOOK), hl ld (SHELL_CMDHOOK), hl
jp shellLoop jp shellLoop
emulGetB: emulGetC:
; Blocks until a char is returned ; Blocks until a char is returned
in a, (STDIO_PORT) in a, (STDIO_PORT)
cp a ; ensure Z cp a ; ensure Z
ret ret
emulPutB: emulPutC:
out (STDIO_PORT), a out (STDIO_PORT), a
ret ret