mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 04:38:06 +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
|
; Parse command (null terminated) at HL and calls it
|
||||||
shellParse:
|
shellParse:
|
||||||
|
; first thing: is command empty?
|
||||||
|
ld a, (hl)
|
||||||
|
or a
|
||||||
|
ret z ; empty, nthing to do
|
||||||
|
|
||||||
push af
|
push af
|
||||||
push bc
|
push bc
|
||||||
push de
|
push de
|
||||||
|
Loading…
Reference in New Issue
Block a user