mirror of
https://github.com/hsoft/collapseos.git
synced 2025-04-04 13:38:39 +11:00
pass the number of arguments to the called function
This commit is contained in:
parent
c3ad620ba8
commit
c230856f09
@ -159,6 +159,7 @@ shellParse:
|
||||
jr z, .parseerror
|
||||
|
||||
; Args parsed, now we can load the routine address and call it.
|
||||
ld b, a ; pass number of arguments as b
|
||||
; let's have DE point to the jump line
|
||||
ld hl, SHELL_CMD_ARGS
|
||||
ld a, PARSE_ARG_MAXCOUNT
|
||||
|
Loading…
Reference in New Issue
Block a user