This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
izaya
/
collapseos
mirror of
https://github.com/hsoft/collapseos.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Fix typo in shell's emul{Get,Put}C
pull/71/head
Virgil Dupras
4 years ago
parent
1f26879cd3
commit
a86234c87e
1 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
tools/emul/shell/shell_.asm
+ 4
- 4
tools/emul/shell/shell_.asm
View File
@@ -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…
Cancel
Save