mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:08:07 +11:00
shell: don't parse empty cmds
This commit is contained in:
parent
951dd2206d
commit
3861670bcc
@ -89,6 +89,11 @@ shellLoop:
|
||||
|
||||
; Parse command (null terminated) at HL and calls it
|
||||
shellParse:
|
||||
; first thing: is command empty?
|
||||
ld a, (hl)
|
||||
or a
|
||||
ret z ; empty, nthing to do
|
||||
|
||||
push af
|
||||
push bc
|
||||
push de
|
||||
|
Loading…
Reference in New Issue
Block a user