1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-24 14:38:05 +11:00

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
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