shell: echo types letters right away
Easier to use this way...
This commit is contained in:
parent
942ff37bf8
commit
e4c23b4270
@ -85,7 +85,7 @@ aciaInt:
|
|||||||
call aciaIncIndex
|
call aciaIncIndex
|
||||||
ld (ACIA_BUFWRIDX), a
|
ld (ACIA_BUFWRIDX), a
|
||||||
|
|
||||||
; And finially, fetch the value and write it.
|
; And finally, fetch the value and write it.
|
||||||
in a, (ACIA_IO)
|
in a, (ACIA_IO)
|
||||||
ld (de), a
|
ld (de), a
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; shell
|
; shell
|
||||||
;
|
;
|
||||||
; Runs a shell over an block device interface.
|
; Runs a shell over a block device interface.
|
||||||
|
|
||||||
; Status: incomplete. As it is now, it spits a welcome prompt, wait for input
|
; Status: incomplete. As it is now, it spits a welcome prompt, wait for input
|
||||||
; and compare the first 4 chars of the input with a command table and call the
|
; and compare the first 4 chars of the input with a command table and call the
|
||||||
@ -70,6 +70,9 @@ shellLoop:
|
|||||||
cp ASCII_LF
|
cp ASCII_LF
|
||||||
jr z, .do ; char is LF? do!
|
jr z, .do ; char is LF? do!
|
||||||
|
|
||||||
|
; Echo the received character right away so that we see what we type
|
||||||
|
SHELL_PUTC
|
||||||
|
|
||||||
; Ok, gotta add it do the buffer
|
; Ok, gotta add it do the buffer
|
||||||
; save char for later
|
; save char for later
|
||||||
ex af, af'
|
ex af, af'
|
||||||
|
Loading…
Reference in New Issue
Block a user